style: modern typing in files.py #1092
38 errors
Pylint found 38 errors
Annotations
Check failure on line 161 in src/darker/help.py
github-actions / Pylint
src/darker/help.py#L161
Parsing failed: 'f-string: unmatched '(' (src.darker.help, line 161)' (syntax-error, E0001)
Check failure on line 12 in src/darker/command_line.py
github-actions / Pylint
src/darker/command_line.py#L12
No name 'help' in module 'darker' (no-name-in-module, E0611)
Check failure on line 54 in src/darker/import_sorting.py
github-actions / Pylint
src/darker/import_sorting.py#L54
Too many positional arguments (6/5) (too-many-positional-arguments, R0917)
Check failure on line 31 in src/darker/__main__.py
github-actions / Pylint
src/darker/__main__.py#L31
Cannot import 'darker.help' due to 'f-string: unmatched '(' (darker.help, line 161)' (syntax-error, E0001)
Check failure on line 31 in src/darker/__main__.py
github-actions / Pylint
src/darker/__main__.py#L31
No name 'help' in module 'darker' (no-name-in-module, E0611)
Check failure on line 60 in src/darker/__main__.py
github-actions / Pylint
src/darker/__main__.py#L60
Too many arguments (7/5) (too-many-arguments, R0913)
Check failure on line 60 in src/darker/__main__.py
github-actions / Pylint
src/darker/__main__.py#L60
Too many positional arguments (7/5) (too-many-positional-arguments, R0917)
Check failure on line 115 in src/darker/__main__.py
github-actions / Pylint
src/darker/__main__.py#L115
Too many arguments (6/5) (too-many-arguments, R0913)
Check failure on line 115 in src/darker/__main__.py
github-actions / Pylint
src/darker/__main__.py#L115
Too many positional arguments (6/5) (too-many-positional-arguments, R0917)
Check failure on line 169 in src/darker/__main__.py
github-actions / Pylint
src/darker/__main__.py#L169
Too many arguments (9/5) (too-many-arguments, R0913)
Check failure on line 169 in src/darker/__main__.py
github-actions / Pylint
src/darker/__main__.py#L169
Too many positional arguments (9/5) (too-many-positional-arguments, R0917)
Check failure on line 293 in src/darker/__main__.py
github-actions / Pylint
src/darker/__main__.py#L293
Too many positional arguments (8/5) (too-many-positional-arguments, R0917)
Check failure on line 109 in src/darker/formatters/ruff_formatter.py
github-actions / Pylint
src/darker/formatters/ruff_formatter.py#L109
Parameter 'config_path' has been renamed to 'value' in overriding 'RuffFormatter._read_config_file' method (arguments-renamed, W0237)
Check failure on line 111 in src/darker/formatters/ruff_formatter.py
github-actions / Pylint
src/darker/formatters/ruff_formatter.py#L111
Using open without explicitly specifying an encoding (unspecified-encoding, W1514)
Check failure on line 97 in src/darker/formatters/black_formatter.py
github-actions / Pylint
src/darker/formatters/black_formatter.py#L97
Parameter 'config_path' has been renamed to 'value' in overriding 'BlackFormatter._read_config_file' method (arguments-renamed, W0237)
Check failure on line 135 in src/darker/formatters/black_formatter.py
github-actions / Pylint
src/darker/formatters/black_formatter.py#L135
Parameter 'content' has been renamed to 'src_contents' in overriding 'BlackFormatter.run' method (arguments-renamed, W0237)
Check failure on line 19 in src/darker/formatters/base_formatter.py
github-actions / Pylint
src/darker/formatters/base_formatter.py#L19
Too few public methods (0/2) (too-few-public-methods, R0903)
Check failure on line 69 in src/darker/tests/test_main_format_edited_parts.py
github-actions / Pylint
src/darker/tests/test_main_format_edited_parts.py#L69
Too many positional arguments (7/5) (too-many-positional-arguments, R0917)
Check failure on line 60 in src/darker/tests/test_main_reformat_and_flynt_single_file.py
github-actions / Pylint
src/darker/tests/test_main_reformat_and_flynt_single_file.py#L60
Too many positional arguments (6/5) (too-many-positional-arguments, R0917)
Check failure on line 19 in src/darker/tests/test_main.py
github-actions / Pylint
src/darker/tests/test_main.py#L19
Cannot import 'darker.help' due to 'f-string: unmatched '(' (darker.help, line 161)' (syntax-error, E0001)
Check failure on line 19 in src/darker/tests/test_main.py
github-actions / Pylint
src/darker/tests/test_main.py#L19
No name 'help' in module 'darker' (no-name-in-module, E0611)
Check failure on line 188 in src/darker/tests/test_main.py
github-actions / Pylint
src/darker/tests/test_main.py#L188
Too many positional arguments (11/5) (too-many-positional-arguments, R0917)
Check failure on line 88 in src/darker/tests/test_import_sorting.py
github-actions / Pylint
src/darker/tests/test_import_sorting.py#L88
Too many positional arguments (6/5) (too-many-positional-arguments, R0917)
Check failure on line 113 in src/darker/tests/test_git.py
github-actions / Pylint
src/darker/tests/test_git.py#L113
Too many positional arguments (6/5) (too-many-positional-arguments, R0917)
Check failure on line 180 in src/darker/tests/test_git.py
github-actions / Pylint
src/darker/tests/test_git.py#L180
Too many positional arguments (7/5) (too-many-positional-arguments, R0917)