-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from bourque/pep8speaks-config
Config file for pep8speaks
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# File : .pep8speaks.yml | ||
|
||
message: # Customize the comment made by the bot | ||
opened: # Messages when a new PR is submitted | ||
header: "Hello @{name}, Thank you for submitting the Pull Request !" | ||
# The keyword {name} is converted into the author's username | ||
footer: "If you have not done so, please consult the [`jwql` Style Guide](https://github.com/spacetelescope/jwql/blob/master/style_guide/style_guide.md)" | ||
# The messages can be written as they would over GitHub | ||
updated: # Messages when new commits are added to the PR | ||
header: "Hello @{name}, Thank you for updating !" | ||
footer: "" # Why to comment the link to the style guide everytime? :) | ||
no_errors: "Cheers ! There are no PEP8 issues in this Pull Request. :beers: " | ||
|
||
scanner: | ||
diff_only: False # If True, errors caused by only the patch are shown | ||
|
||
pycodestyle: | ||
max-line-length: 100 # Default is 79 in PEP8 | ||
ignore: # Errors and warnings to ignore | ||
|
||
only_mention_files_with_errors: True # If False, a separate status comment for each file is made. | ||
descending_issues_order: False # If True, PEP8 issues in message will be displayed in descending order of line numbers in the file |