Skip to content

Adjust `--stdin-filename` tests to new exit codes

Sign in for the full log view
GitHub Actions / Pylint failed Jul 29, 2024 in 0s

8 errors

Pylint found 8 errors

Annotations

Check failure on line 37 in src/darker/__main__.py

See this annotation in the file changed.

@github-actions github-actions / Pylint

src/darker/__main__.py#L37

No name 'EXIT_CODE_CMDLINE_ERROR' in module 'darkgraylib.command_line' (no-name-in-module, E0611)

Check failure on line 37 in src/darker/__main__.py

See this annotation in the file changed.

@github-actions github-actions / Pylint

src/darker/__main__.py#L37

No name 'EXIT_CODE_DEPENDENCY' in module 'darkgraylib.command_line' (no-name-in-module, E0611)

Check failure on line 37 in src/darker/__main__.py

See this annotation in the file changed.

@github-actions github-actions / Pylint

src/darker/__main__.py#L37

No name 'EXIT_CODE_FILE_NOT_FOUND' in module 'darkgraylib.command_line' (no-name-in-module, E0611)

Check failure on line 37 in src/darker/__main__.py

See this annotation in the file changed.

@github-actions github-actions / Pylint

src/darker/__main__.py#L37

No name 'EXIT_CODE_UNKNOWN' in module 'darkgraylib.command_line' (no-name-in-module, E0611)

Check failure on line 13 in src/darker/tests/test_main_stdin_filename.py

See this annotation in the file changed.

@github-actions github-actions / Pylint

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)

Check failure on line 34 in action/main.py

See this annotation in the file changed.

@github-actions github-actions / Pylint

action/main.py#L34

Redefining built-in 'exit' (redefined-builtin, W0622)

Check failure on line 43 in action/main.py

See this annotation in the file changed.

@github-actions github-actions / Pylint

action/main.py#L43

Consider using 'sys.exit' instead (consider-using-sys-exit, R1722)

Check failure on line 109 in action/main.py

See this annotation in the file changed.

@github-actions github-actions / Pylint

action/main.py#L109

Consider using 'sys.exit' instead (consider-using-sys-exit, R1722)