Skip to content

Commit

Permalink
chore: bump lint to Python 3.12 (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwotherspoon committed Jan 29, 2024
1 parent e9cbc0a commit 2e9017e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: "3.10"
python-version: "3.12"

- name: Install nox
run: pip install nox
Expand Down
7 changes: 4 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def lint(session):
"mypy",
BLACK_VERSION,
ISORT_VERSION,
"types-setuptools",
"build",
"twine",
)
session.run(
Expand Down Expand Up @@ -71,8 +71,9 @@ def lint(session):
"--non-interactive",
"--show-traceback",
)
session.run("python", "setup.py", "sdist")
session.run("twine", "check", "dist/*")
# verify that setup.py is valid
session.run("python", "-m", "build", "--sdist")
session.run("twine", "check", "--strict", "dist/*")


@nox.session
Expand Down

0 comments on commit 2e9017e

Please sign in to comment.