ManAISys Python Style Guide
This tool is designed to help you maintain a consistent coding style in your Python projects. It checks for common style issues and enforces best practices.
Tools Used
- Ruff: A fast Python linter and formatter.
- Black: The uncompromising Python code formatter.
- isort: A Python utility for sorting imports.
- mypy: An optional static type checker for Python.
- pydocstyle: A documentation style checker for Python docstrings.
- darglint: A docstring style checker for Python.
- docformatter: A tool to format docstrings in Python.
Installation
Run the following command to install the required tools:
Using pip
pip install manaisys-style-guide
Using Poetry
poetry add manaisys-style-guide
Usage
You can run the style checks and formatting tools using the following commands:
(with Poetry use poetry run style-guide <command>)
style-guide format
style-guide format_docs
style-guide typecheck
style-guide lint
style-guide lint_docs
style-guide all
Metadata
Release files for manaisys-style-guide 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| manaisys_style_guide-0.2.2.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| manaisys_style_guide-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / manaisys_style_guide-0.2.2.tar.gz
| Download URL | manaisys_style_guide-0.2.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7447cb442c39c07e085f593020fef0f2cdf89ca21cc3bc0ab16489b35b8b8585
|
|
BLAKE2b-256 checksum How to use checksums |
0a8afe0abebab114e4e46a61fb79650cc07c4a09d3a9dee848fbc99de9812df2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.5 Darwin/24.6.0
|
Release files / manaisys_style_guide-0.2.2-py3-none-any.whl
| Download URL | manaisys_style_guide-0.2.2-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d038d9836c5103b6b3bf755f75f81d812e0004a928d12a143e435585677fb22
|
|
BLAKE2b-256 checksum How to use checksums |
46bfff86a8a784ed5069317c1669693fc423f9edb7487e33d7f2e9137b657e23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.5 Darwin/24.6.0
|