Skip to main content

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
```

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

codestyle-0.0.4.tar.gz (20.8 kB view details)

Uploaded Source

File details

Details for the file codestyle-0.0.4.tar.gz.

File metadata

  • Download URL: codestyle-0.0.4.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for codestyle-0.0.4.tar.gz
Algorithm Hash digest
SHA256 93b449ca435a1a1c33e239604d972d55245bfe107ad430c2862e8723156e7ef3
MD5 9c90133172128ca4e89cd4edfe6c7f71
BLAKE2b-256 3c8b4af04dcc8171f76e736fba2c3f7d99fe5e92c5b1f613d647787860da3271

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page