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)
4. CSS (csscomb)
## 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 [-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
--compact Show compact 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)
4. CSS (csscomb)
## 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 [-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
--compact Show compact 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.8.tar.gz
(24.9 kB
view details)
File details
Details for the file codestyle-0.0.8.tar.gz
.
File metadata
- Download URL: codestyle-0.0.8.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7d5f505f62d2227e8e68a01529521acea6c577bca45897b98c1b00ae2e66df9 |
|
MD5 | cdb4ba2b7ff782bc646304983806ea4b |
|
BLAKE2b-256 | 1fdc34dac5825cb432073a9ad692d018e2fe187692b4c1e021c5813bca6f1e16 |