Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mikey_pro_ruff_config-10.3.4.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mikey_pro_ruff_config-10.3.4-py3-none-any.whl (71.8 kB view details)

Uploaded Python 3

File details

Details for the file mikey_pro_ruff_config-10.3.4.tar.gz.

File metadata

  • Download URL: mikey_pro_ruff_config-10.3.4.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

Hashes for mikey_pro_ruff_config-10.3.4.tar.gz
Algorithm Hash digest
SHA256 7094cc090dfb5feb8adb3b76f024b69af34c2c6faa7c20b69795e8f1f6d29470
MD5 565ae6a551c0429b5ad86d6ac4e2b143
BLAKE2b-256 7f11466ac715a6a885ac7cf8a6254c6ca715e087fba6796b3722adb10c89da78

See more details on using hashes here.

File details

Details for the file mikey_pro_ruff_config-10.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for mikey_pro_ruff_config-10.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d2150f98cd1231d4ab3b7d8f181b3de74081b6e9552fb33c1d085e39a8a3ed16
MD5 5fa64afc1879ee8df9a67b390277d684
BLAKE2b-256 40af7910bb3da79408ea263680f5c4ab4a95045665190e17910808e3a9e41828

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page