Skip to content

Commit

Permalink
Merge pull request #495 from EducationalTestingService/add-pep8speaks
Browse files Browse the repository at this point in the history
Add pep8speaks integration.
  • Loading branch information
desilinguist committed Sep 10, 2019
2 parents 1df5890 + 2be442e commit 8a131b9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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 # Other option is pycodestyle

flake8: # Valid if scanner.linter is flake8
max-line-length: 100

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 @{name}! 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 @{name}! Thanks for updating this PR. "
footer: "" # Why to comment the link to the style guide everytime? :)
no_errors: "There are currently no PEP 8 issues detected in this Pull Request. Cheers! :tada: "

0 comments on commit 8a131b9

Please sign in to comment.