1scanner:
2    diff_only: True
3    linter: flake8
4
5flake8:
6    max-line-length: 100
7    select:
8        - E101 # mix of tabs and spaces
9        - W191 # use of tabs
10        - E201 # whitespace after '('
11        - E202 # whitespace before ')'
12        - W291 # trailing whitespace
13        - W292 # no newline at end of file
14        - W293 # trailing whitespace
15        - W391 # blank line at end of file
16        - E111 # 4 spaces per indentation level
17        - E112 # 4 spaces per indentation level
18        - E113 # 4 spaces per indentation level
19        - E301 # expected 1 blank line, found 0
20        - E302 # expected 2 blank lines, found 0
21        - E303 # too many blank lines (3)
22        - E304 # blank lines found after function decorator
23        - E305 # expected 2 blank lines after class or function definition
24        - E306 # expected 1 blank line before a nested definition
25        - E502 # the backslash is redundant between brackets
26        - E722 # do not use bare except
27        - E901 # SyntaxError or IndentationError
28        - E902 # IOError
29        - E999 # SyntaxError -- failed to compile a file into an Abstract Syntax Tree
30        - F822 # undefined name in __all__
31        - F823 # local variable name referenced before assignment
32
33no_blank_comment: True
34descending_issues_order: False
35
36message:
37    opened:
38        header: >
39          Hello @{name} :wave:! Thanks for opening this pull request, we are
40          very grateful for your contribution! I'm a friendly :robot: that
41          checks for style issues in this pull request, since this project
42          follows the [PEP8](https://www.python.org/dev/peps/pep-0008/) style
43          guidelines. I've listed some small issues I found below, but please
44          don't hesitate to ask if any of them are unclear!
45    updated:
46        header: >
47          Hello @{name} :wave:! It looks like you've made some changes in your
48          pull request, so I've checked the code again for style.
49    no_errors: "There are no PEP8 style issues with this pull request - thanks! :tada:"
50