File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 12
12
$NIX develop .#ci -c black --diff --check qbpm tests
13
13
- ruff : |
14
14
cd qbpm
15
- $NIX develop .#ci -c ruff qbpm
15
+ $NIX develop .#ci -c ruff qbpm tests
16
16
- mypy : |
17
17
cd qbpm
18
18
$NIX develop .#ci -c mypy qbpm tests
Original file line number Diff line number Diff line change @@ -6,3 +6,7 @@ ignore = [
6
6
" ANN102" , # annotate cls
7
7
" ANN401" , # ban Any
8
8
]
9
+
10
+ [per-file-ignores ]
11
+ "tests/test_main.py" = [ " S101" , " ANN201" ]
12
+ "tests/test_profiles.py" = [ " S101" , " ANN201" ]
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def test_overwrite_config(tmp_path: Path):
71
71
for line in conf :
72
72
if url in line :
73
73
return
74
- assert False
74
+ raise AssertionError ()
75
75
76
76
77
77
def test_ensure_profile_exists_exists (tmp_path : Path ):
You can’t perform that action at this time.
0 commit comments