Skip to content

Commit ed61300

Browse files
committed
Simplified script a bit.
1 parent e7d8988 commit ed61300

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ repos:
7474
- id: stubtest
7575
name: python stubtest
7676
language: python
77+
additional_dependencies:
78+
- mypy
7779
entry: python ./scripts/stubtest.py
7880
pass_filenames: false
7981
always_run: true

scripts/bump_version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ruff: noqa
12
import re
23
import argparse
34
from pathlib import Path

scripts/stubtest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88

99
def main():
10-
print(os.environ["VIRTUAL_ENV"])
11-
subprocess.run(["pip", "install", "mypy"], check=True)
1210
subprocess.run(["maturin", "dev", "--uv"], cwd=ROOT_DIR, check=True)
1311
os.execvpe("stubtest", ["--ignore-disjoint-bases", "natsrpy"], env=os.environ)
1412

0 commit comments

Comments
 (0)