Adjust --stdin-filename
tests to new exit codes
#1456
9 errors
Mypy found 9 errors
Annotations
Check failure on line 37 in src/darker/__main__.py
github-actions / Mypy
src/darker/__main__.py#L37
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_CMDLINE_ERROR" [attr-defined]
Check failure on line 37 in src/darker/__main__.py
github-actions / Mypy
src/darker/__main__.py#L37
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_DEPENDENCY" [attr-defined]
Check failure on line 37 in src/darker/__main__.py
github-actions / Mypy
src/darker/__main__.py#L37
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_FILE_NOT_FOUND" [attr-defined]
Check failure on line 37 in src/darker/__main__.py
github-actions / Mypy
src/darker/__main__.py#L37
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_UNKNOWN" [attr-defined]
Check failure on line 641 in src/darker/__main__.py
github-actions / Mypy
src/darker/__main__.py#L641
Returning Any from function declared to return "int" [no-any-return]
Check failure on line 644 in src/darker/__main__.py
github-actions / Mypy
src/darker/__main__.py#L644
Returning Any from function declared to return "int" [no-any-return]
Check failure on line 647 in src/darker/__main__.py
github-actions / Mypy
src/darker/__main__.py#L647
Returning Any from function declared to return "int" [no-any-return]
Check failure on line 650 in src/darker/__main__.py
github-actions / Mypy
src/darker/__main__.py#L650
Returning Any from function declared to return "int" [no-any-return]
Check failure on line 13 in src/darker/tests/test_main_stdin_filename.py
github-actions / Mypy
src/darker/tests/test_main_stdin_filename.py#L13
Module "darkgraylib.command_line" has no attribute "EXIT_CODE_CMDLINE_ERROR" [attr-defined]