Tidy Python Script
Project description
Usage
python -m pythontidy2 [-t expandtabsize] script.py
Installation
pip install pythontidy2
Description
Tidy python scripts
Not compliant to PEP8
Effect
From:
list = [1, 2, {
'Alicedefg': '2341',
'Beth' : "c",
'Cecil' : '3258',
}, 4]
To:
list = [1, 2, {
'Alicedefg' : '2341',
'Beth' : "c",
'Cecil' : '3258',
}, 4]
From:
doc = ""
long_variable = ((doc+'\n') if doc else '')
x = ""
To:
doc = ""
long_variable = ((doc + '\n') if doc else '')
x = ""
License
BSD
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
pythontidy2-0.1.5.zip
(4.8 kB
view hashes)