Skip to content

Commit 6e8c31b

Browse files
Replace nox with uv run in Makefile
Co-Authored-By: Daniel Roy Greenfeld <[email protected]>
1 parent afcf5b9 commit 6e8c31b

File tree

6 files changed

+10
-28
lines changed

6 files changed

+10
-28
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ pip-delete-this-directory.txt
6161

6262
# Unit test / coverage reports
6363
htmlcov/
64-
.nox/
6564
.coverage
6665
.coverage.*
6766
.cache

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ dependencies = [
3030
"pytest>=8.4.1",
3131
"pytest-cookies>=0.7.0",
3232
"typer>=0.16.0",
33-
"nox>=2025.5.1",
3433
"alabaster>=1.0.0",
3534
"watchdog>=6.0.0",
3635
]

{{cookiecutter.project_slug}}/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ pip-delete-this-directory.txt
3737

3838
# Unit test / coverage reports
3939
htmlcov/
40-
.nox/
4140
.coverage
4241
.coverage.*
4342
.cache

{{cookiecutter.project_slug}}/Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ clean-test: ## remove test and coverage artifacts
4848
rm -fr htmlcov/
4949
rm -fr .pytest_cache
5050

51-
lint/flake8: ## check style with flake8
52-
flake8 {{ cookiecutter.project_slug }} tests
53-
54-
55-
lint: lint/flake8 ## check style
51+
ruff: ## check style
52+
ruff check
5653

5754
test: ## run tests quickly with the default Python
5855
pytest
5956

60-
test-all: ## run tests on every Python version with tox
61-
tox
57+
test-all: ## run tests on every Python version with uv
58+
uv run --python=3.10 --extra test pytest
59+
uv run --python=3.11 --extra test pytest
60+
uv run --python=3.12 --extra test pytest
61+
uv run --python=3.13 --extra test pytest
6262

6363
coverage: ## check code coverage quickly with the default Python
6464
coverage run --source {{ cookiecutter.project_slug }} -m pytest

{{cookiecutter.project_slug}}/noxfile.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ license = {text = "MIT"}
1919
dependencies = [
2020
"typer"
2121
]
22+
requires-python = ">= 3.10"
2223

2324
dynamic = ["version"]
2425

2526
[project.optional-dependencies]
26-
dev = [
27+
test = [
2728
"coverage", # testing
2829
"pytest", # testing
2930
"ruff", # linting
30-
"nox", # testing
3131
"ty", # checking types
3232
]
3333

@@ -71,4 +71,4 @@ select = [
7171
"I", # isort
7272
"B", # flake8-bugbear
7373
"UP", # pyupgrade
74-
]
74+
]

0 commit comments

Comments
 (0)