5 errors
Pylint found 5 errors
Annotations
Check failure on line 159 in src/darker/formatters/black_formatter.py
github-actions / Pylint
src/darker/formatters/black_formatter.py#L159
Import outside toplevel (darker.formatters.black_wrapper.format_str) (import-outside-toplevel, C0415)
Check failure on line 186 in src/darker/formatters/black_formatter.py
github-actions / Pylint
src/darker/formatters/black_formatter.py#L186
Import outside toplevel (darker.formatters.black_wrapper.FileMode, darker.formatters.black_wrapper.TargetVersion) (import-outside-toplevel, C0415)
Check failure on line 22 in src/darker/formatters/black_wrapper.py
github-actions / Pylint
src/darker/formatters/black_wrapper.py#L22
Constant name "message" doesn't conform to UPPER_CASE naming style (invalid-name, C0103)
Check failure on line 25 in src/darker/formatters/black_wrapper.py
github-actions / Pylint
src/darker/formatters/black_wrapper.py#L25
Import "from black import FileMode, TargetVersion, format_str, parse_pyproject_toml, re_compile_maybe_verbose" should be placed at the top of the module (wrong-import-position, C0413)
Check failure on line 10 in src/darker/formatters/black_wrapper.py
github-actions / Pylint
src/darker/formatters/black_wrapper.py#L10
Unused import black (unused-import, W0611)