Metadata-Version: 2.4
Name: mikey-pro-ruff-config
Version: 10.3.3
Summary: Mikey Pro Ruff configuration - AI agent code quality guardrails for Python
Project-URL: Homepage, https://github.com/chiefmikey/mikey-pro
Project-URL: Repository, https://github.com/chiefmikey/mikey-pro
Project-URL: Issues, https://github.com/chiefmikey/mikey-pro/issues
Author-email: Mikl Wolfe <wolfe@mikl.io>
License-Expression: MIT
License-File: LICENSE
Keywords: ai-agent,code-quality,formatting,linting,mikey-pro,python,ruff
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# @mikey-pro/ruff-config

AI agent code quality guardrails for Python. Strict Ruff configuration enforcing clean, secure, maintainable Python code.

## Install

**PyPI:**

```bash
pip install mikey-pro-ruff-config
```

**npm:**

```bash
npm i -D @mikey-pro/ruff-config
```

## Usage

Extend in your `pyproject.toml`:

```toml
[tool.ruff]
extend = "./node_modules/@mikey-pro/ruff-config/ruff.toml"
```

Or copy `ruff.toml` to your project root.

## What's Enforced

- PEP 8 style (pycodestyle)
- Import sorting (isort)
- Security checks (bandit)
- Complexity limit: 12 (mccabe)
- Max function arguments: 3
- Bug detection (bugbear)
- Modern Python idioms (pyupgrade, ruff-specific)
- No print statements (use logging)
- No commented-out code
- Pathlib over os.path
