7 errors
Pylint found 7 errors
Annotations
Check failure on line 11 in src/darker/tests/test_files.py
github-actions / Pylint
src/darker/tests/test_files.py#L11
Consider using '{"start": 'only_pyproject/subdir', "expect": 'only_pyproject/pyproject.toml', ... }' instead of a call to 'dict'. (use-dict-literal, R1735)
Check failure on line 12 in src/darker/tests/test_files.py
github-actions / Pylint
src/darker/tests/test_files.py#L12
Consider using '{"start": 'only_git/subdir', "expect": None}' instead of a call to 'dict'. (use-dict-literal, R1735)
Check failure on line 13 in src/darker/tests/test_files.py
github-actions / Pylint
src/darker/tests/test_files.py#L13
Consider using '{"start": 'git_and_pyproject/subdir', "expect": 'git_and_pyproject/pyproject.toml', ... }' instead of a call to 'dict'. (use-dict-literal, R1735)
Check failure on line 94 in src/darker/formatters/black_formatter.py
github-actions / Pylint
src/darker/formatters/black_formatter.py#L94
Import outside toplevel (black.parse_pyproject_toml, black.re_compile_maybe_verbose) (import-outside-toplevel, C0415)
Check failure on line 154 in src/darker/formatters/black_formatter.py
github-actions / Pylint
src/darker/formatters/black_formatter.py#L154
Import outside toplevel (black.format_str) (import-outside-toplevel, C0415)
Check failure on line 178 in src/darker/formatters/black_formatter.py
github-actions / Pylint
src/darker/formatters/black_formatter.py#L178
Import outside toplevel (black.FileMode) (import-outside-toplevel, C0415)
Check failure on line 179 in src/darker/formatters/black_formatter.py
github-actions / Pylint
src/darker/formatters/black_formatter.py#L179
Import outside toplevel (black.TargetVersion) (import-outside-toplevel, C0415)