Skip to content

Commit 4543cd9

Browse files
committed
ci: Auto-remove noqas
1 parent 3e148dc commit 4543cd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_inspector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_missing_dependency() -> None:
4949
with temporary_pypackage("package", ["module.py"]) as tmp_package:
5050
filepath = Path(tmp_package.path, "module.py")
5151
filepath.write_text("import missing")
52-
with pytest.raises(ImportError): # noqa: PT012,SIM117
52+
with pytest.raises(ImportError): # noqa: SIM117
5353
with suppress(ModuleNotFoundError):
5454
inspect("package.module", filepath=filepath, import_paths=[tmp_package.tmpdir])
5555

0 commit comments

Comments
 (0)