Skip to content

Commit 3617a39

Browse files
committed
Sync with boilerplate.
* Makefile: fail make tag if dev tools not installed. * tox.ini: update ruff invocation to avoid deprecation warning.
1 parent 57aac8f commit 3617a39

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ endif
2222
@echo "deploy: build and upload to PyPi"
2323
@echo "tag: tag the repository with the current version\n"
2424

25+
version:
26+
@hatch version
27+
2528
install:
2629
./install.sh --unstable
2730

@@ -47,7 +50,7 @@ pytest:
4750
nopost:
4851
@bash check.sh --nopost
4952

50-
tag:
53+
tag: version
5154
git tag -a "v${LIBRARY_VERSION}" -m "Version ${LIBRARY_VERSION}"
5255

5356
build: check

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ commands =
2020
python -m build --no-isolation
2121
python -m twine check dist/*
2222
isort --check .
23-
ruff .
23+
ruff check .
2424
codespell .
2525
deps =
2626
check-manifest

0 commit comments

Comments
 (0)