A tool to check and validate a Python code repository.
Project description
dazpycheck: Your AI Code's Quality Guardian
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.
Features
- All-in-One Checking: dazpycheck integrates
blackfor formatting,flake8for linting,pyrightfor type checking, andpy_compilefor compilation, giving you a complete picture of your code's health. - Automated Fixing: By default,
dazpycheckwill automatically fix formatting issues. Use the--readonlyflag 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.
dazpycheckwill scan your entire repository and flag any occurrences of these words. - Parallel Execution:
dazpycheckruns all readonly checks in parallel, making it fast and efficient, even on large codebases. - Integrated Test Runner: By default,
dazpycheckwill run all yourunittestandpytesttests. Use the--no-testflag to skip testing.
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.
We hope you find dazpycheck to be a valuable addition to your development workflow!
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 dazpycheck-0.13.0.tar.gz.
File metadata
- Download URL: dazpycheck-0.13.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fec835eadf540824bd5b3be5daf5fe6925eca903b46968ca4a845c377450c12
|
|
| MD5 |
35dc332e4923805924f5825a3b950a12
|
|
| BLAKE2b-256 |
66358b17b45801262279db5f789b5e0fbc73aefbd36aa9fa1f19c01e1c7d1780
|
File details
Details for the file dazpycheck-0.13.0-py3-none-any.whl.
File metadata
- Download URL: dazpycheck-0.13.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4831e693c92738d6489cfa14bb992d0e7f3f87f3c011cb4c6b08babdc6d9461e
|
|
| MD5 |
973d8859afd4454424677c556c342c0b
|
|
| BLAKE2b-256 |
06d8f685f73d8a5ae2e1c35a839f3ede9d100b32fb474b10730ca7255228f99b
|