]> git.ipfire.org Git - thirdparty/kea.git/commit
[#3287] fix pycodestyle warnings
authorAndrei Pavel <andrei@isc.org>
Thu, 6 Jun 2024 12:41:10 +0000 (15:41 +0300)
committerAndrei Pavel <andrei@isc.org>
Thu, 20 Jun 2024 15:52:09 +0000 (18:52 +0300)
commit8e37580e591920369b534bf5825b940009a22e25
tree551a074a86126d6a8c9a174bdf4f0ac724fe10b4
parentc0acd781c927e3fe5fa7e2e37226329e31daf7f3
[#3287] fix pycodestyle warnings

- E111 indentation is not a multiple of 4
- E117 over-indented
- E125 continuation line with same indent as next logical line
- E127 continuation line over-indented for visual indent
- E128 continuation line under-indented for visual indent
- E129 visually indented line with same indent as next logical line
- E131 continuation line unaligned for hanging indent
- E201 whitespace after '['
- E201 whitespace after '{'
- E202 whitespace before ')'
- E202 whitespace before ']'
- E202 whitespace before '}'
- E203 whitespace before '
- E203 whitespace before ','
- E222 multiple spaces after operator
- E225 missing whitespace around operator
- E228 missing whitespace around modulo operator
- E231 missing whitespace after ','
- E251 unexpected spaces around keyword / parameter equals
- E261 at least two spaces before inline comment
- E262 inline comment should start with '# '
- E265 block comment should start with '# '
- E301 expected 1 blank line, found 0
- E302 expected 2 blank lines, found 1
- E303 too many blank lines (2)
- E305 expected 2 blank lines after class or function definition, found 1
- E306 expected 1 blank line before a nested definition, found 0
- E401 multiple imports on one line
- E402 module level import not at top of file
- E501 line too long
- E502 the backslash is redundant between brackets
- E703 statement ends with a semicolon
- E713 test for membership should be 'not in'
- E722 do not use bare 'except'
- E741 ambiguous variable name 'l'
- W605 invalid escape sequence '\/'
13 files changed:
doc/sphinx/api2doc.py
doc/sphinx/conf.py
doc/sphinx/mes2doc.py
hammer.py
src/bin/shell/kea_conn.py
src/bin/shell/kea_connector3.py
src/bin/shell/tests/shell_unittest.py.in
src/lib/util/python/const2hdr.py
src/lib/util/python/gen_wiredata.py.in
src/share/database/scripts/utils/are-scripts-in-sync.py
tools/git-obsolete-branch.py
tools/kea-breeder/kb.py
tools/reorder_message_file.py