Skip to content

Commit

Permalink
Merge pull request #587 from autonomio/add_pep8_config
Browse files Browse the repository at this point in the history
added pep8 config file
  • Loading branch information
mikkokotila authored Apr 16, 2022
2 parents 859c50d + 7cb0fc2 commit f68c057
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# File : .pep8speaks.yml

scanner:
diff_only: False
linter: flake8

flake8: # Same as scanner.linter value. Other option is flake8
max-line-length: 88 # Default is 79 in PEP 8
ignore: # Errors and warnings to ignore
- 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.

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

message:
opened:
header: "Hello @{name}! Thanks for opening this PR."
footer: "Do see the [Hitchhiker's guide to code style](https://goo.gl/hqbW4r)"
updated:
header: "Hello @{name}! Thanks for updating this PR."
footer: ""
no_errors: "There are currently no PEP 8 issues detected in this PR. Great work! :heart:"

0 comments on commit f68c057

Please sign in to comment.