First, this was taken from edx-platform and modified to reach my own goals.
Do you think your code is clean??!!
run quality_test on your home directory and find out how many violations your code have.
Simple installation using pip:
“pip install pep-quality”
use the following to test your code:
” from path import Path as path
from pep_quality.quality import run_quality
…
run_quality(path(__file__).abspath(), None) “
or you can just call from python manage.py shell like:
” from path import Path as path
from pep_quality.quality import run_quality
…
run_quality(path(‘.’).abspath(), None) “
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pep_quality-1.4.1.tar.gz.
File metadata
- Download URL: pep_quality-1.4.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
427e17f11a77baff1a588ea446795f5177f166cab6d4724d193136239a17c8ca
|
|
| MD5 |
8764022379d27b64a29e990a6dad485a
|
|
| BLAKE2b-256 |
a58e925ff5e36bf32c270df34c751fe6b2c0d07179ac48c878ff978d0b1e8227
|