From 2c458bd160d1e9badc0a4a07a60cd674ba8484e7 Mon Sep 17 00:00:00 2001 From: Jack Wotherspoon Date: Wed, 24 May 2023 11:52:00 -0400 Subject: [PATCH] chore: add pypi check to lint (#40) --- noxfile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/noxfile.py b/noxfile.py index e90b855..19bfbfe 100644 --- a/noxfile.py +++ b/noxfile.py @@ -41,6 +41,7 @@ def lint(session): "mypy", BLACK_VERSION, "types-setuptools", + "twine", ) session.run( "black", @@ -55,6 +56,8 @@ def lint(session): "tests", ) session.run("mypy", "google", "--install-types", "--non-interactive") + session.run("python", "setup.py", "sdist") + session.run("twine", "check", "dist/*") @nox.session