Extendable codestyle checker and fixer
Project description
# Codestyle checker
This script checks and auto fixes codestyle for all supported languages:
1. PHP (phpcs)
2. Python (pep8 and pylint)
3. Javascript (jscs and jshint)
## Dependencies
1. phpcs
2. phpcbf
3. jshint (global nodejs package)
4. jscs-fixer (global nodejs package)
5. jscs (global nodejs package)
7. pep8
8. autopep8
9. pylint
10. csscomb
## Usage
```
usage: codestyle.py [-h] [--fix] [--verbose] target [target ...]
Check and fix code style
positional arguments:
target files for the checking
optional arguments:
-h, --help show this help message and exit
--try-fix Auto fix codestyle errors
--verbose Show verbose output
```
This script checks and auto fixes codestyle for all supported languages:
1. PHP (phpcs)
2. Python (pep8 and pylint)
3. Javascript (jscs and jshint)
## Dependencies
1. phpcs
2. phpcbf
3. jshint (global nodejs package)
4. jscs-fixer (global nodejs package)
5. jscs (global nodejs package)
7. pep8
8. autopep8
9. pylint
10. csscomb
## Usage
```
usage: codestyle.py [-h] [--fix] [--verbose] target [target ...]
Check and fix code style
positional arguments:
target files for the checking
optional arguments:
-h, --help show this help message and exit
--try-fix Auto fix codestyle errors
--verbose Show verbose output
```
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
codestyle-0.0.5.tar.gz
(20.8 kB
view hashes)