mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-28 16:45:40 +00:00
* Whitespace and Commenting Fixes E203 whitespace before ':' E225 missing whitespace around 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 '# ' E302 expected 2 blank lines, found X E303 too many blank lines E305 expected 2 blank lines after class or function definition, found X W291 trailing whitespace W293 blank line contains whitespace * Import Fixes E402 module level import not at top of file W0401 X ' may be undefined, or defined from star imports: ' X W0404 redefinition of unused X from line X W0611 X imported but unused * Variable and Exception Fixes E701 multiple statements on one line (colon) E711 comparison to None should be 'if cond is not None:' E713 test for membership should be 'not in' E722 do not use bare 'except' E741 ambiguous variable name 'l' W0612 local variable X is assigned to but never used * Indentation Fixes E111 indentation is not a multiple of four E117 over-indented E122 continuation line missing indentation or outdented E125 continuation line with same indent as next logical line E127 continuation line over-indented for visual indent E129 visually indented line with same indent as next logical line * replace lowercase todo and fixme with standardized TODO |
||
---|---|---|
.. | ||
cassettes/assrt | ||
conftest.py | ||
libs.py | ||
test_assrt.py |