Skip to content

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

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 #346

Triggered via pull request February 1, 2024 17:25
Status Failure
Total duration 2m 43s
Artifacts

ci.yml

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

Annotations

9 errors and 60 warnings
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.10)
Process completed with exit code 1.
lintrunner (macos-latest, 3.11)
Process completed with exit code 1.
lintrunner (macos-latest, 3.10)
Process completed with exit code 1.
lintrunner (windows-latest, 3.9)
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 (windows-latest, 3.11)
Process completed with exit code 1.
BLACK-ISORT format: lintrunner_adapters/adapters/ruff_format_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/flake8_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/grep_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/black_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/__init__.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/grep_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/pyupgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/mypy_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/exec_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/newlines_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/clangformat_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/s3_init.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/__init__.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/grep_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/editorconfig_checker_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/newlines_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/ruff_format_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/black_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/clippy_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/newlines_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/exec_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/__main__.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/flake8_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/s3_init.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/grep_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/grep_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/pyupgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/mypy_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/exec_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/ruff_fix_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/clangformat_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/flake8_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/rustfmt_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/pyupgrade_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/__main__.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/clangformat_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/grep_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/pylint_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/add_trailing_comma_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/__main__.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/newlines_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/requirements_txt_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/black_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/ufmt_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/__init__.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/rustfmt_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/ruff_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/black_isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/grep_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/isort_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: examples/pytorch/mypy_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/clippy_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/ruff_format_linter.py#L1
Run `lintrunner -a` to apply this patch.
BLACK-ISORT format: lintrunner_adapters/adapters/flake8_linter.py#L1
Run `lintrunner -a` to apply this patch.