generated from athenian-computational-thinking/style-github-tests-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pep8speaks.yml
30 lines (26 loc) · 1.62 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
# 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 # pycodestyle
flake8: # Same as scanner.linter value. Other option is pycodestyle
max-line-length: 127 # Default is 79 in PEP 8
ignore: # Errors and warnings to ignore
- W191 # tabs
- W504 # line break after binary operator
- E402 # module level import not at top of file
- E731 # do not assign a lambda expression, use a def
- C406 # Unnecessary list literal - rewrite as a dict literal.
- E741 # ambiguous variable name
- E712 # is True vs == True
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
message: # Customize the comment made by the bot
opened: # Messages when a new PR is submitted
header: "Hello! Thanks for opening this PR. "
# The keyword {name} is converted into the author's username
footer: "Do see the [Hitchhiker's guide to code style](https://goo.gl/hqbW4r)"
# The messages can be written as they would over GitHub
updated: # Messages when new commits are added to the PR
header: "Hello there! Let's check your program for PEP 8 style. 👌"
footer: "" # Why to comment the link to the style guide everytime? :)
no_errors: "Hooray!!!! There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🎉🙌🎊 "