Files
tubestation/testing/web-platform/tests/tools/flake8.ini
dependabot[bot] 0a1672081f Bug 1724809 [wpt PR 29955] - Bump pep8-naming from 0.11.1 to 0.12.1 in /tools, a=testonly
Automatic update from web-platform-tests
Bump pep8-naming from 0.11.1 to 0.12.1 in /tools

Bumps [pep8-naming](https://github.com/PyCQA/pep8-naming) from 0.11.1 to 0.12.1.
- [Release notes](https://github.com/PyCQA/pep8-naming/releases)
- [Changelog](https://github.com/PyCQA/pep8-naming/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/PyCQA/pep8-naming/compare/0.11.1...0.12.1)

---
updated-dependencies:
- dependency-name: pep8-naming
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
--
Ignore error N818 about exception naming

--

wpt-commits: 60eb09855e9eec341033b145dbf95921d3caf174, cc4f2a0c832889e29ddd9426ead84d530650f79c
wpt-pr: 29955
2022-03-26 21:56:11 +00:00

27 lines
1.1 KiB
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[flake8]
select = E,W,F,N
# E128: continuation line under-indented for visual indent
# E129: visually indented line with same indent as next logical line
# E226: missing whitespace around arithmetic operator
# E231: missing whitespace after ,, ;, or :
# E251: unexpected spaces around keyword / parameter equals
# E265: block comment should start with #
# E302: expected 2 blank lines, found 0
# E303: too many blank lines (3)
# E305: expected 2 blank lines after end of function or class
# E402: module level import not at top of file
# E731: do not assign a lambda expression, use a def
# W504: line break after binary operator
# W601: .has_key() is deprecated, use in
# N801: class names should use CapWords convention
# N802: function name should be lowercase
# N806: variable in function should be lowercase
# N818: exception should be named with an Error suffix
ignore = E128,E129,E226,E231,E251,E265,E302,E303,E305,E402,E731,W504,W601,N801,N802,N806,N818
exclude =
.tox,
third_party,
wptserve/docs/conf.py,
wptserve/tests/functional/docroot/invalid.py
max-line-length = 141