-
Notifications
You must be signed in to change notification settings - Fork 296
/
.pep8speaks.yml
18 lines (15 loc) · 1.39 KB
/
.pep8speaks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
scanner:
diff_only: False # If False, the entire file touched by the Pull Request is scanned for errors. If True, only the diff is scanned.
pycodestyle: # Same as scanner.linter value. Other option is flake8
max-line-length: 100 # Default is 79 in PEP 8
ignore:
- E203 # Whitespace before :, not a strict PEP8 requirement and sometimes incompatible with black.
- W503 # Deprecated, incompatible with black.
no_blank_comment: False # If True, no comment is made on PR without any errors.
message: # Customize the comment made by the bot
opened: # Messages when a new PR is submitted
# The keyword {name} is converted into the author's username
footer: "You can repair most issues by installing [black](https://github.com/ambv/black) and running: `black -l 100 ./*`. If you contribute often, have a look at the 'Contributing' section of the [README](https://github.com/nyu-mll/jiant) for instructions on doing this automatically."
# The messages can be written as they would over GitHub
updated: # Messages when new commits are added to the PR
footer: "You can repair most issues by installing [black](https://github.com/ambv/black) and running: `black -l 100 ./*`. If you contribute often, have a look at the 'Contributing' section of the [README](https://github.com/nyu-mll/jiant) for instructions on doing this automatically."