unify pep8 speaks (#5607)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Jirka Borovec 2021-01-24 15:01:35 +01:00 committed by Jirka Borovec
parent b95471d4a4
commit 2758db6819
1 changed files with 2 additions and 13 deletions

View File

@ -4,19 +4,8 @@ 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. 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 # Other option is flake8 linter: pycodestyle # Other option is flake8
pycodestyle: # Same as scanner.linter value. Other option is flake8 #pycodestyle: # this is dropped in favor od unified config
max-line-length: 120 # Default is 79 in PEP 8 # see: https://github.com/OrkoHunter/pep8speaks/issues/95#issuecomment-470887715
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
- F401
- F841
- E203 # whitespace before ':'. Opposite convention enforced by black
- E501 # line too long. Handled by black
- W503 # line break before binary operator, need for black
no_blank_comment: True # If True, no comment is made on PR without any errors. 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 descending_issues_order: False # If True, PEP 8 issues in message will be displayed in descending order of line numbers in the file