-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3793a6
commit 1cc24a9
Showing
11 changed files
with
785 additions
and
652 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 |
---|---|---|
|
@@ -10,3 +10,6 @@ insert_final_newline = true | |
|
||
[*.yml] | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
indent_style = tab |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
__pycache__/ | ||
/.coverage | ||
/.venv | ||
/dist | ||
__pycache__ | ||
*.py[oc] | ||
build | ||
dist | ||
wheels | ||
*.egg-info | ||
.venv | ||
.coverage |
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,32 @@ | ||
.PHONY: format | ||
format: | ||
@uv run ruff check src tests --fix-only | ||
@uv run ruff format src tests | ||
|
||
.PHONY: format-check | ||
format-check: | ||
@uv run ruff format src tests --check | ||
|
||
.PHONY: darglint | ||
darglint: | ||
@uv run darglint src tests -v 2 | ||
|
||
.PHONY: mypy | ||
mypy: | ||
@uv run mypy src tests | ||
|
||
.PHONY: ruff | ||
ruff: | ||
@uv run ruff check src tests | ||
|
||
.PHONY: pytest | ||
pytest: | ||
@uv run pytest --cov | ||
|
||
.PHONY: lint | ||
lint: format-check darglint mypy ruff | ||
|
||
.PHONY: all | ||
all: format darglint mypy ruff pytest | ||
|
||
.DEFAULT_GOAL := all |
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 was deleted.
Oops, something went wrong.
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,24 @@ | ||
.PHONY: format | ||
format: | ||
@uv run ruff check src --fix-only | ||
@uv run ruff format src | ||
|
||
.PHONY: format-check | ||
format-check: | ||
@uv run ruff format src --check | ||
|
||
.PHONY: mypy | ||
mypy: | ||
@uv run mypy src | ||
|
||
.PHONY: ruff | ||
ruff: | ||
@uv run ruff check src | ||
|
||
.PHONY: lint | ||
lint: format-check mypy ruff | ||
|
||
.PHONY: all | ||
all: format mypy ruff | ||
|
||
.DEFAULT_GOAL := all |
Oops, something went wrong.