Pylint plugin to limit the number of lines in a class.
Project description
pylint-class-lines
Pylint plugin to limit the number of lines in a class.
Installation
pip install pylint-class-lines
Usage
Run pylint-class-lines with other pylint checkers:
pylint --load-plugins=pylint_class_lines {YOUR_MODULE_OR_PACKAGE}
Run only pylint-class-lines:
pylint --load-plugins=pylint_class_lines --disable=all --enable=class-lines {YOUR_MODULE_OR_PACKAGE}
Run pylint-class-lines with custom maximum class lines:
pylint --load-plugins=pylint_class_lines --max-class-lines=100 {YOUR_MODULE_OR_PACKAGE}
Note: default max-class-lines is 150.
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 pylint_class_lines-0.1.0.tar.gz.
File metadata
- Download URL: pylint_class_lines-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acafa3d8facc59e508383860e890bbc51a789d2b4240a1d94f9335357af4c4b2
|
|
| MD5 |
a3da590c87c943e813b41c908e280e05
|
|
| BLAKE2b-256 |
34e5f3e23ff8ec91dacb24878c0d24e6774e3a288a7a4a3480f3bc12e34a96ed
|
File details
Details for the file pylint_class_lines-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pylint_class_lines-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48838ceb2e83a56a14ac59c972d38deb28cd67f972b222b32708c206a4c3c9f2
|
|
| MD5 |
f6330ae3c3e195110435f42369260569
|
|
| BLAKE2b-256 |
69ed15e3239eb90574bf2c531cab397bddb345730db03ea3cc1a96e3b2185a92
|