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.3.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.3-py3-none-any.whl (71.8 kB view details)

Uploaded Python 3

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

Hashes for mikey_pro_ruff_config-10.3.3.tar.gz
Algorithm Hash digest
SHA256 506cbec5935fa785ff32616b4a0b7a8ee3bd0140ce3fac22be22a4195c585add
MD5 d551b3a1c22c9b42083da093603e5218
BLAKE2b-256 b710b8f3d2d161efa5685a4b32205f0c339bea7d730fa35a871c7b4298d8025e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mikey_pro_ruff_config-10.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 99bba8669e06937c854d169c00745dc760e7f2b781975993c3bbcfd455707355
MD5 d38a14500d1a53590c1a1d6696536160
BLAKE2b-256 2f82e871987047a9642fade0dcddf760f453afd5f9f134e7fb2e5f11b6af411b

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