Mikey Pro Ruff configuration - AI agent code quality guardrails for Python
Project description
@mikey-pro/ruff-config
AI agent code quality guardrails for Python. Strict Ruff configuration enforcing clean, secure, maintainable Python code.
Install
PyPI:
pip install mikey-pro-ruff-config
npm:
npm i -D @mikey-pro/ruff-config
Usage
Extend in your pyproject.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mikey_pro_ruff_config-10.3.3.tar.gz.
File metadata
- Download URL: mikey_pro_ruff_config-10.3.3.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
506cbec5935fa785ff32616b4a0b7a8ee3bd0140ce3fac22be22a4195c585add
|
|
| MD5 |
d551b3a1c22c9b42083da093603e5218
|
|
| BLAKE2b-256 |
b710b8f3d2d161efa5685a4b32205f0c339bea7d730fa35a871c7b4298d8025e
|
File details
Details for the file mikey_pro_ruff_config-10.3.3-py3-none-any.whl.
File metadata
- Download URL: mikey_pro_ruff_config-10.3.3-py3-none-any.whl
- Upload date:
- Size: 71.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99bba8669e06937c854d169c00745dc760e7f2b781975993c3bbcfd455707355
|
|
| MD5 |
d38a14500d1a53590c1a1d6696536160
|
|
| BLAKE2b-256 |
2f82e871987047a9642fade0dcddf760f453afd5f9f134e7fb2e5f11b6af411b
|