Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 4dc70e0

Browse files
Create .pep8speaks.yml
1 parent 36cb8b4 commit 4dc70e0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Diff for: .pep8speaks.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# File : .pep8speaks.yml
2+
3+
scanner:
4+
diff_only: True # If False, the entire file touched by the Pull Request is scanned for errors. If True, only the diff is scanned.
5+
linter: pycodestyle # Other option is flake8
6+
7+
pycodestyle: # Same as scanner.linter value. Other option is flake8
8+
max-line-length: 100 # Default is 79 in PEP 8
9+
ignore: # Errors and warnings to ignore
10+
11+
no_blank_comment: True # If True, no comment is made on PR without any errors.
12+
descending_issues_order: False # If True, PEP 8 issues in message will be displayed in descending order of line numbers in the file
13+
14+
message: # Customize the comment made by the bot
15+
opened: # Messages when a new PR is submitted
16+
header: "Hello @{name}! Thanks for opening this PR. "
17+
# The keyword {name} is converted into the author's username
18+
footer: "Do see the [Hitchhiker's guide to code style](https://goo.gl/hqbW4r)"
19+
# The messages can be written as they would over GitHub
20+
updated: # Messages when new commits are added to the PR
21+
header: "Hello @{name}! Thanks for updating this PR. "
22+
footer: "" # Why to comment the link to the style guide everytime? :)
23+
no_errors: "There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: "

0 commit comments

Comments
 (0)