Skip to content

fix(linter): resolve file path for the black linter to avoid a bug in black file path handling #360

fix(linter): resolve file path for the black linter to avoid a bug in black file path handling

fix(linter): resolve file path for the black linter to avoid a bug in black file path handling #360

Triggered via pull request February 6, 2024 18:26
@justinchubyjustinchuby
synchronize #92
black-24
Status Failure
Total duration 3m 21s
Artifacts

ci.yml

on: pull_request
Matrix: lintrunner
Matrix: pytest
Release
0s
Release
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 80 warnings
lintrunner (ubuntu-latest, 3.10)
Process completed with exit code 1.
lintrunner (ubuntu-latest, 3.11)
Process completed with exit code 1.
lintrunner (ubuntu-latest, 3.9)
Process completed with exit code 1.
lintrunner (ubuntu-latest, 3.12)
Process completed with exit code 1.
lintrunner (macos-latest, 3.10)
Process completed with exit code 1.
lintrunner (macos-latest, 3.9)
Process completed with exit code 1.
lintrunner (windows-latest, 3.10)
Process completed with exit code 1.
lintrunner (macos-latest, 3.11)
Process completed with exit code 1.
lintrunner (macos-latest, 3.12)
Process completed with exit code 1.
lintrunner (windows-latest, 3.9)
Process completed with exit code 1.
lintrunner (windows-latest, 3.12)
Process completed with exit code 1.
lintrunner (windows-latest, 3.11)
Process completed with exit code 1.
RUFF-FORMAT format: lintrunner_adapters/adapters/isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/django_upgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/ruff_format_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/newlines_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/ruff_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/ufmt_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/clangtidy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/mypy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/pylint_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/flake8_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/ruff_format_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/mypy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/black_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/clangtidy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/editorconfig_checker_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/requirements_txt_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/newlines_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/black_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/clangformat_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/flake8_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/pyupgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/django_upgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/add_trailing_comma_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/mypy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/clangtidy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/ruff_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/flake8_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/mypy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/clangtidy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/add_trailing_comma_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/newlines_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/pyupgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/flake8_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/mypy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/ruff_format_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/django_upgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/pylint_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/rustfmt_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/exec_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/ufmt_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/django_upgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/pyupgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/add_trailing_comma_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/editorconfig_checker_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/pyupgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/requirements_txt_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/grep_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/black_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/black_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/django_upgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/grep_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/add_trailing_comma_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/rustfmt_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/ufmt_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/pyupgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/requirements_txt_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/ruff_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/clangformat_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/clangtidy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/refurb_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/black_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/flake8_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/tools/convert_to_sarif.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/clangtidy_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/rustfmt_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/editorconfig_checker_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/clangformat_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: examples/pytorch/exec_linter.py#L1
Run `lintrunner -a` to apply this patch.
RUFF-FORMAT format: lintrunner_adapters/adapters/clippy_linter.py#L1
Run `lintrunner -a` to apply this patch.