Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ venv
*.pyc
.python-version
cloud_sql_python_connector.egg-info/
dist/
5 changes: 4 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ def lint(session):
Returns a failure if the linters find linting errors or sufficiently
serious code quality issues.
"""
session.install("flake8", "flake8-annotations", "black", "mypy", "sqlalchemy-stubs")
session.install(
"flake8", "flake8-annotations", "black", "mypy", "sqlalchemy-stubs", "twine")
session.install("-r", "requirements.txt")
session.run("black", "--check", *BLACK_PATHS)
session.run("flake8", "google", "tests")
session.run("mypy", "google", "tests")
session.run("python", "setup.py", "sdist")
session.run("twine", "check", "dist/*")


@nox.session(python="3.6")
Expand Down