forked from scil-vital/dwi_ml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pep8speaks.yml
23 lines (19 loc) · 1.35 KB
/
.pep8speaks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File : .pep8speaks.yml
scanner:
diff_only: True # If False, the entire file touched by the Pull Request is scanned for errors. If True, only the diff is scanned.
linter: flake8 # Other option is pycodestyle
flake8: # Same as scanner.linter value. Other option is pycodestyle
max-line-length: 79 # Default is 79 in PEP 8
descending_issues_order: False # If True, PEP 8 issues in message will be displayed in descending order of line numbers in the file.
no_blank_comment: False # If True, no comment is made on PR without any errors.
only_mention_files_with_errors: True # If False, a separate status comment for each file is made.
message: # Customize the comment made by the bot,
opened: # Messages when a new PR is submitted
header: "Hello @{name}! Thanks for opening this PR. "
# The keyword {name} is converted into the author's username
footer: "Do see the [PEP 8 -- Style Guide for Python Code](https://www.python.org/dev/peps/pep-0008/)"
# The messages can be written as they would over GitHub
updated: # Messages when new commits are added to the PR
header: "Hello @{name}! Thanks for updating this PR. "
footer: "" # Why to comment the link to the style guide everytime? :)
no_errors: "There are currently no PEP 8 issues detected in this Pull Request. Cheers! :rocket: "