Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit 09f0bf7

Browse files
committed
add python 3.10 to CI 4
1 parent 01a4741 commit 09f0bf7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
- { python-version: "3.10", os: ubuntu-latest, session: "pre-commit" }
1616
- { python-version: "3.10", os: ubuntu-latest, session: "safety" }
1717
- { python-version: "3.10", os: ubuntu-latest, session: "mypy" }
18-
- { python-version: 3.9, os: ubuntu-latest, session: "pre-commit" }
19-
- { python-version: 3.9, os: ubuntu-latest, session: "safety" }
2018
- { python-version: 3.9, os: ubuntu-latest, session: "mypy" }
2119
- { python-version: 3.9, os: ubuntu-latest, session: "tests" }
2220
- { python-version: 3.9, os: windows-latest, session: "tests" }

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def activate_virtualenv_in_precommit_hooks(session: Session) -> None:
7070
hook.write_text("\n".join(lines))
7171

7272

73-
@session(name="pre-commit", python="3.9")
73+
@session(name="pre-commit", python="3.10")
7474
def precommit(session: Session) -> None:
7575
"""Lint using pre-commit."""
7676
args = session.posargs or ["run", "--all-files", "--show-diff-on-failure"]
@@ -90,7 +90,7 @@ def precommit(session: Session) -> None:
9090
activate_virtualenv_in_precommit_hooks(session)
9191

9292

93-
@session(python="3.9")
93+
@session(python="3.10")
9494
def safety(session: Session) -> None:
9595
"""Scan dependencies for insecure packages."""
9696
requirements = session.poetry.export_requirements()

0 commit comments

Comments
 (0)