-
Notifications
You must be signed in to change notification settings - Fork 7
/
.pep8speaks.yml
40 lines (36 loc) · 1.56 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
28
29
30
31
32
33
34
35
36
37
38
39
40
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: pycodestyle # Alternative option - flake8
pycodestyle: # Valid if scanner.linter is pycodestyle
max-line-length: 79
ignore: [] # Errors and warnings to ignore
exclude: [] # File path patterns to exclude
count: False
first: False
show-pep8: False
show-source: False
statistics: False
hang-closing: False
filename: []
select: []
flake8: # Valid if scanner.linter is flake8
max-line-length: 79
ignore: []
exclude: []
count: False
show-source: False
statistics: False
hang-closing: False
filename: []
select: []
no_blank_comment: False # If True, no comment is made on PR without any errors.
descending_issues_order: False # If True, PEP 8 issues in message will be displayed in descending order of line numbers in the file
only_mention_files_with_errors: True # If False, a separate status section for each file is made in the comment.
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 !"
footer: "Do see the [PEP 8 -- Style Guide for Python Code](https://www.python.org/dev/peps/pep-0008/)"
updated: # Messages when a PR is updated
header: "Hello @{name}, Thank you for updating !"
footer: ""
no_errors: "There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: "