Skip to main content

A tool to check and validate a Python code repository.

Project description

dazpycheck: Your AI Code's Quality Guardian

dazpycheck banner

dazpycheck is a powerful and comprehensive tool for ensuring your Python code is clean, correct, and consistent. It's especially useful for checking code generated by AI, which can sometimes take shortcuts or introduce subtle errors.

Why dazpycheck?

AI is a powerful tool, but it's not perfect. AI-generated code can sometimes be messy, inefficient, or even contain bugs. dazpycheck helps you catch these issues before they become problems. It's the perfect last step in your development workflow to ensure your code is production-ready.

dazpycheck logo

Features

  • All-in-One Checking: dazpycheck integrates black for formatting, flake8 for linting, pyright for type checking, and py_compile for compilation, giving you a complete picture of your code's health.
  • Automated Fixing: By default, dazpycheck will automatically fix formatting issues. Use the --readonly flag to see what would be changed without modifying any files.
  • Banned Words Enforcement: Define a list of "banned words" to enforce your own coding standards. dazpycheck will scan your entire repository and flag any occurrences of these words.
  • Parallel Execution: dazpycheck runs all readonly checks in parallel, making it fast and efficient, even on large codebases.
  • Integrated Test Runner: By default, dazpycheck will run all your unittest and pytest tests. Use the --no-test flag to skip testing.

Parallel Checks

Installation

dazpycheck is available on PyPI. You can install it using pip:

pip install dazpycheck

Usage

Once installed, you can run dazpycheck from anywhere on your system:

dazpycheck

This will run all checks and tests on the current directory. You can also specify a directory:

dazpycheck /path/to/your/project

Options

  • --readonly: Only check for issues, don't modify files.
  • --no-test: Skip running tests.
  • --single-thread: Run checks sequentially.
  • --full: Run all checks regardless of failures.

Banned Words

We hope you find dazpycheck to be a valuable addition to your development workflow!

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

dazpycheck-0.5.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

dazpycheck-0.5.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file dazpycheck-0.5.0.tar.gz.

File metadata

  • Download URL: dazpycheck-0.5.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dazpycheck-0.5.0.tar.gz
Algorithm Hash digest
SHA256 9bf6e49fe33a9746ad4ff93aacafd8c3dfe4ed8e0663b8dca97d5c3204e772e9
MD5 2a942f41b90b2115718b39bf5ec949ae
BLAKE2b-256 b9b0d90f72a131e1568c78f1479f3f86c0261d8e4739a369d93e2622d967d232

See more details on using hashes here.

File details

Details for the file dazpycheck-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: dazpycheck-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dazpycheck-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b52a142d21e003aee24159451bd63dee744db46bc5d5ade2b9089528b40eeee6
MD5 5d10f99564849e1e27ce0a632e343465
BLAKE2b-256 c9cd78aac84a03dc81fc645d3b82a99ffd0075e731198280bf90a5e65f969050

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