Metadata-Version: 2.4
Name: flake8-extensions
Version: 0.1.1
Summary: A collection of custom flake8 extensions
Home-page: https://github.com/yourusername/flaekextens
Author: Your Name
Author-email: Your Name <your.email@example.com>
Project-URL: Homepage, https://github.com/yourusername/flake8-extensions
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: flake8>=3.0.0
Dynamic: author
Dynamic: home-page
Dynamic: requires-python

# Flake8 Absolute Imports Plugin

A Flake8 plugin that enforces absolute imports in Python projects.

## Installation

```bash
pip install flake8-absolute-imports
```

## Usage

Add to your flake8 configuration (e.g. `.flake8`):

```ini
[flake8]
plugins = flake8-absolute-imports
select = IA
```

## Error Codes

| Code | Description |
|------|-------------|
| IA001 | Relative imports are not allowed |

## Example

Bad:
```python
from ..utils import helper  # IA001
from .models import User   # IA001
```

Good:
```python
from my_project.utils import helper
from my_project.models import User
```

## Development

Install development dependencies:
```bash
pip install -e .[dev]
```

Run tests:
```bash
pytest
```

Run flake8 with the plugin:
```bash
flake8 your_file.py
```

## License

MIT
