style: modern typing in files.py #381
9 errors
Pylint found 9 errors
Annotations
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 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 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 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 1 in action/tests/test_main.py
github-actions / Pylint
action/tests/test_main.py#L1
Similar lines in 2 (files, R0801)