Skip to content

Commit 2c458bd

Browse files
chore: add pypi check to lint (#40)
1 parent b2b0b86 commit 2c458bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

noxfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def lint(session):
4141
"mypy",
4242
BLACK_VERSION,
4343
"types-setuptools",
44+
"twine",
4445
)
4546
session.run(
4647
"black",
@@ -55,6 +56,8 @@ def lint(session):
5556
"tests",
5657
)
5758
session.run("mypy", "google", "--install-types", "--non-interactive")
59+
session.run("python", "setup.py", "sdist")
60+
session.run("twine", "check", "dist/*")
5861

5962

6063
@nox.session

0 commit comments

Comments
 (0)