Skip to content

GitHub Actions :Lint Python code with ruff #84

GitHub Actions :Lint Python code with ruff

GitHub Actions :Lint Python code with ruff #84

Triggered via pull request September 28, 2025 13:58
@cclausscclauss
opened #155
ruff
Status Failure
Total duration 2m 2s
Artifacts

ci.yml

on: pull_request
Matrix: macOS
Matrix: Ubuntu
Matrix: Windows
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 1 warning, and 5 notices
ruff
The process '/opt/hostedtoolcache/ruff/0.13.2/x86_64/ruff' failed with exit code 1
Ruff (F541): pytest_trio/_tests/test_trio_mode.py#L162
pytest_trio/_tests/test_trio_mode.py:162:37: F541 f-string without any placeholders
Ruff (F541): pytest_trio/_tests/test_trio_mode.py#L142
pytest_trio/_tests/test_trio_mode.py:142:37: F541 f-string without any placeholders
Ruff (F401): pytest_trio/_tests/test_trio_mode.py#L1
pytest_trio/_tests/test_trio_mode.py:1:8: F401 `pytest` imported but unused
Ruff (F401): pytest_trio/_tests/test_fixture_mistakes.py#L2
pytest_trio/_tests/test_fixture_mistakes.py:2:25: F401 `pytest_trio.trio_fixture` imported but unused
Ruff (F401): pytest_trio/_tests/test_fixture_mistakes.py#L1
pytest_trio/_tests/test_fixture_mistakes.py:1:8: F401 `pytest` imported but unused
Ruff (F401): pytest_trio/__init__.py#L3
pytest_trio/__init__.py:3:23: F401 `._version.__version__` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (E402): docs/source/conf.py#L146
docs/source/conf.py:146:1: E402 Module level import not at top of file
Ruff (E402): docs/source/conf.py#L104
docs/source/conf.py:104:1: E402 Module level import not at top of file
ruff
Could not parse version from /home/runner/work/pytest-trio/pytest-trio/pyproject.toml. Using latest version.
Windows (3.12)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Windows (3.10)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Windows (3.11)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Windows (3.14)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Windows (3.13)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677