mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 22:52:01 +00:00
fix(spelling): PYTHON_VERSIONS
This commit is contained in:
parent
8d82f29887
commit
5116a629e9
@ -5,7 +5,7 @@ import nox
|
|||||||
nox.needs_version = ">=2022.1.7"
|
nox.needs_version = ">=2022.1.7"
|
||||||
nox.options.sessions = ["lint", "tests", "tests_packaging"]
|
nox.options.sessions = ["lint", "tests", "tests_packaging"]
|
||||||
|
|
||||||
PYTHON_VERISONS = ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7", "pypy3.8"]
|
PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7", "pypy3.8"]
|
||||||
|
|
||||||
if os.environ.get("CI", None):
|
if os.environ.get("CI", None):
|
||||||
nox.options.error_on_missing_interpreters = True
|
nox.options.error_on_missing_interpreters = True
|
||||||
@ -20,7 +20,7 @@ def lint(session: nox.Session) -> None:
|
|||||||
session.run("pre-commit", "run", "-a")
|
session.run("pre-commit", "run", "-a")
|
||||||
|
|
||||||
|
|
||||||
@nox.session(python=PYTHON_VERISONS)
|
@nox.session(python=PYTHON_VERSIONS)
|
||||||
def tests(session: nox.Session) -> None:
|
def tests(session: nox.Session) -> None:
|
||||||
"""
|
"""
|
||||||
Run the tests (requires a compiler).
|
Run the tests (requires a compiler).
|
||||||
|
Loading…
Reference in New Issue
Block a user