No fretting about pretty Python
Project description
frettipy
No fretting about pretty Python.
- Prefer single over double quotation marks
- Do not omit zero before or after decimal point
- Spaces around binary operators
- No space after unary operators
- Spaces around comparison operators
- No spaces around the argument-assignment operator
- No spaces on the inner side of brackets
- Slices: no spaces around slice operators
- Dictionaries: spaces after colon (but not before)
- Spaces around assignment operators
- Block initiation: no spaces before colon
- Spaces after commas (but not before)
- No double spaces
- Single space between non-whitespace character and comment
- Four spaces instead of tabs
- No trailing whitespace
- No double blank lines
- No blank line at end of file
- No blank line at beginning of file
Use with care! Python files are modified recursively and in place!
Installation
Either from PyPI:
python3 -m pip install frettipy
Or from GitHub:
python3 -m pip install git+https://github.com/janberges/frettipy
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
frettipy-0.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
frettipy-0.1-py3-none-any.whl
(4.8 kB
view hashes)