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 details)
File details
Details for the file codestyle-0.0.5.tar.gz
.
File metadata
- Download URL: codestyle-0.0.5.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aee264a4b722b062b8d9cc24154f7eb3330da2db95372d4ccc84a322f512271c |
|
MD5 | 108c9243e45820e979f7effacfa81877 |
|
BLAKE2b-256 | d08eaddfd96ca39ef0bb291012d6737b5a7ac7648b04e7c950b374d555ec89cc |