-
Notifications
You must be signed in to change notification settings - Fork 63
/
.pep8speaks.yml
27 lines (23 loc) · 1.36 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
24
25
26
27
# File : .pep8speaks.yml
message: # Customize the comment made by the bot
opened: # Messages when a new PR is submitted
header: "Hello @{name}, Thank you for submitting the Pull Request !"
# The keyword {name} is converted into the author's username
footer: "If you have not done so, please lint your code in accordance with best practices."
# The messages can be written as they would over GitHub
updated: # Messages when new commits are added to the PR
header: "Hello @{name}, Thank you for updating !"
footer: "" # Why to comment the link to the style guide everytime? :)
no_errors: "There are no PEP8 issues in this Pull Request."
scanner:
diff_only: True # If True, errors caused by only the patch are shown
pycodestyle:
max-line-length: 125 # Default is 79 in PEP8
ignore: # Errors and warnings to ignore
- W191 # indentation contains tabs
- W503 # Outdated and replaced by W504
- W505 # doc line too long
- E401 # multiple imports on one line
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.
descending_issues_order: False # If True, PEP8 issues in message will be displayed in descending order of line numbers in the file