Skip to content

Commit 373770a

Browse files
committed
ruff(fix) Move A002 suppression to per-file-ignores in pyproject.toml
why: The old `# ruff: NOQA: A002` file-level comment syntax is no longer recognized by ruff (RUF103), causing CI to fail. what: - Remove obsolete `# ruff: NOQA: A002` from subprocess.py - Add per-file-ignores entry in pyproject.toml for A002 on subprocess.py
1 parent 7f7ca3f commit 373770a

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ convention = "numpy"
211211

212212
[tool.ruff.lint.per-file-ignores]
213213
"*/__init__.py" = ["F401"]
214+
"src/libvcs/_internal/subprocess.py" = ["A002"]
214215

215216
[tool.pytest.ini_options]
216217
addopts = [

src/libvcs/_internal/subprocess.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# ruff: NOQA: A002
21
r"""Invocable :mod:`subprocess` wrapper.
32
43
Defer running a subprocess, such as by handing to an executor.

0 commit comments

Comments
 (0)