Skip to content

Commit 3df5bd6

Browse files
committed
Fix mypy GitHub Action to directly call mypy
1 parent 8fa9e60 commit 3df5bd6

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
# Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
2020
# Set fetch-depth: 0 to fetch all history for all branches and tags.
2121
fetch-depth: 0 # Needed for setuptools_scm to work correctly
22-
- run: pip install -U --user pip setuptools setuptools-scm nox
23-
- run: python -m nox --non-interactive --session validate-3.13 -k mypy # Run nox for mypy
22+
- run: pip install -U --user pip mypy
23+
- run: mypy .

noxfile.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,3 @@ def tests(session, plugin):
3939
'--no-pty',
4040
'--append-cov',
4141
)
42-
43-
44-
@nox.session(python=['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'])
45-
@nox.parametrize('step', ['mypy', 'flake8'])
46-
def validate(session, step):
47-
session.install('invoke', './[validate]')
48-
session.run('invoke', step)

0 commit comments

Comments
 (0)