mirror of
https://github.com/rasbt/deeplearning-models.git
synced 2024-11-25 19:23:04 +08:00
28 lines
1.4 KiB
YAML
28 lines
1.4 KiB
YAML
# 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
|
|
|
|
flake8:
|
|
max-line-length: 89 # 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.
|
|
- E741 # ambiguous variable name
|
|
|
|
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: ""
|
|
# 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! :beers: " |