-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This switches the siggen project to be maintained using just and uv like our other libraries.
- Loading branch information
Showing
5 changed files
with
63 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ build | |
.cache | ||
.pytest_cache | ||
.tox | ||
.python-version | ||
uv.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@_default: | ||
just --list | ||
|
||
# Build a dev environment | ||
devenv: | ||
uv sync --extra dev --refresh --upgrade | ||
|
||
# Clean development and build artifacts | ||
clean: | ||
rm -rf .venv uv.lock | ||
rm -rf build dist siggen.egg-info .tox .pytest-cache | ||
rm -rf docs/_build/* | ||
find siggen/ -name __pycache__ | xargs rm -rf | ||
find siggen/ -name '*.pyc' | xargs rm -rf | ||
|
||
# Format files | ||
format: devenv | ||
uv run tox exec -e py39-lint -- ruff format | ||
|
||
# Lint files | ||
lint: devenv | ||
uv run tox -e py39-lint | ||
|
||
# Run tests and linting | ||
test *args: devenv | ||
uv run tox {{args}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters