Skip to content

style: modern typing in files.py #1124

style: modern typing in files.py

style: modern typing in files.py #1124

Triggered via push September 25, 2024 19:54
Status Failure
Total duration 29s
Artifacts

mypy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
src/darker/formatters/base_formatter.py#L45
Name "read_config" already defined on line 30 [no-redef]
mypy
Linting failures detected. See check runs with annotations for details.
src/darker/formatters/base_formatter.py#L45
Method already defined line 30 (function-redefined, E0102)
action/tests/test_main.py#L1
Similar lines in 2 (files, R0801)
action/tests/test_main.py#L1
Similar lines in 2 (files, R0801)
mypy
The following actions use a deprecated Node.js version and will be forced to run on node20: wearerequired/lint-action@v2.3.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
mypy
The `python-version` input is not set. The version of Python currently in `PATH` will be used.