Skip to content

Commit 76924e2

Browse files
committed
remove comments, update lint python version
1 parent a0e8bd8 commit 76924e2

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

noxfile.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
LINT_PATHS = ["docs", "db_dtypes", "tests", "noxfile.py", "setup.py"]
3434

3535
DEFAULT_PYTHON_VERSION = "3.9"
36+
LINT_PYTHON_VERSION = "3.10"
3637

3738
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3839
"3.9",
@@ -85,11 +86,7 @@
8586
# Error if a python version is missing
8687
nox.options.error_on_missing_interpreters = True
8788

88-
89-
# TODO: the linting process still uses python 3.8.
90-
# As soon as that gets upgraded, we should be able to revert this session
91-
# to using the DEFAULT_PYTHON_VERSION.
92-
@nox.session(python="3.10")
89+
@nox.session(python=LINT_PYTHON_VERSION)
9390
def lint(session):
9491
"""Run linters.
9592
@@ -141,11 +138,7 @@ def format(session):
141138
*LINT_PATHS,
142139
)
143140

144-
145-
# TODO: the linting process still uses python 3.8.
146-
# As soon as that gets upgraded, we should be able to revert this session
147-
# to using the DEFAULT_PYTHON_VERSION.
148-
@nox.session(python="3.8")
141+
@nox.session(python=LINT_PYTHON_VERSION)
149142
def lint_setup_py(session):
150143
"""Verify that setup.py is valid (including RST check)."""
151144
session.install("docutils", "pygments")

0 commit comments

Comments
 (0)