https://github.com/ojford/ward
Ward off PEP 8 anarchists with your correctional tool
https://github.com/ojford/ward
Last synced: 19 days ago
JSON representation
Ward off PEP 8 anarchists with your correctional tool
- Host: GitHub
- URL: https://github.com/ojford/ward
- Owner: OJFord
- Created: 2016-05-25T00:19:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-25T06:10:50.000Z (over 9 years ago)
- Last Synced: 2025-04-03T10:15:58.366Z (6 months ago)
- Language: Python
- Size: 181 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ward: PEP 8 Auto-Enforcement Officer
blame PEP 8 anarchists for the errors of their ways.## Usage
```sh
WardUsage: ward (-h | [-fad] FILE ...)
Options:
-h --help Display this usage information.
-f --fail-fast Stop enforcing after first violation.
-a --angry Enforce violations angrily. say your mind.
-d --dart Fire a correctional dart at the violater via email.
```Firing correctional darts requires a `SENDGRID_API_KEY` environment variable.
## Example
```sh
$ ward ward
In ward:
Ollie Ford is responsible for line too long (80 > 79 characters).
Ollie Ford is responsible for whitespace before ']'.
Ollie Ford is responsible for whitespace before ']'.
Ollie Ford is responsible for missing whitespace around operator.
Ollie Ford is responsible for line break before binary operator.
Ollie Ford is responsible for whitespace before ']'.
Ollie Ford is responsible for trailing whitespace.
Ollie Ford is responsible for expected 2 blank lines, found 1.
```