Skip to content

Commit

Permalink
Add config file for pep8speaks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfore committed May 1, 2024
1 parent ce72d53 commit dfe4290
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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:
- E129
- E125
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:
- E129
- E125
exclude: []
count: False
show-source: False
statistics: False
hang-closing: False
filename: []
select: []

no_blank_comment: True # 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: ""
footer: ""
updated: # Messages when a PR is updated
header: ""
footer: ""
no_errors: "There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: "

0 comments on commit dfe4290

Please sign in to comment.