Adjust --stdin-filename
tests to new exit codes
#1456
Annotations
17 errors
src/darker/__main__.py#L37
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_CMDLINE_ERROR" [attr-defined]
|
src/darker/__main__.py#L37
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_DEPENDENCY" [attr-defined]
|
src/darker/__main__.py#L37
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_FILE_NOT_FOUND" [attr-defined]
|
src/darker/__main__.py#L37
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_UNKNOWN" [attr-defined]
|
src/darker/__main__.py#L641
Returning Any from function declared to return "int" [no-any-return]
|
src/darker/__main__.py#L644
Returning Any from function declared to return "int" [no-any-return]
|
src/darker/__main__.py#L647
Returning Any from function declared to return "int" [no-any-return]
|
src/darker/__main__.py#L650
Returning Any from function declared to return "int" [no-any-return]
|
src/darker/tests/test_main_stdin_filename.py#L13
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_CMDLINE_ERROR" [attr-defined]
|
src/darker/__main__.py#L37
No name 'EXIT_CODE_CMDLINE_ERROR' in module 'darkgraylib.command_line' (no-name-in-module, E0611)
|
src/darker/__main__.py#L37
No name 'EXIT_CODE_DEPENDENCY' in module 'darkgraylib.command_line' (no-name-in-module, E0611)
|
src/darker/__main__.py#L37
No name 'EXIT_CODE_FILE_NOT_FOUND' in module 'darkgraylib.command_line' (no-name-in-module, E0611)
|
src/darker/__main__.py#L37
No name 'EXIT_CODE_UNKNOWN' in module 'darkgraylib.command_line' (no-name-in-module, E0611)
|
src/darker/tests/test_main_stdin_filename.py#L13
No name 'EXIT_CODE_CMDLINE_ERROR' in module 'darkgraylib.command_line' (no-name-in-module, E0611)
|
action/main.py#L34
Redefining built-in 'exit' (redefined-builtin, W0622)
|
action/main.py#L43
Consider using 'sys.exit' instead (consider-using-sys-exit, R1722)
|
action/main.py#L109
Consider using 'sys.exit' instead (consider-using-sys-exit, R1722)
|