-
Notifications
You must be signed in to change notification settings - Fork 4
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
A.Shpak
committed
Nov 14, 2024
1 parent
e9688bc
commit 14b6cf4
Showing
2 changed files
with
5 additions
and
12 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 |
---|---|---|
@@ -1,21 +1,18 @@ | ||
SOURCE_DIR := "winregistry" | ||
|
||
tests: pytest | ||
fmt: black isort | ||
|
||
isort: | ||
poetry run isort {{ SOURCE_DIR }} --diff | ||
# poetry run isort test_curlify3.py --diff | ||
poetry run isort winregistry.py | ||
|
||
black: | ||
poetry run isort {{ SOURCE_DIR }} | ||
poetry run black winregistry.py | ||
# poetry run isort test_curlify3.py | ||
|
||
pytest: | ||
poetry run pytest -vv | ||
|
||
ruff: | ||
poetry run ruff check --fix {{SOURCE_DIR}} | ||
poetry run ruff check --fix winregistry.py | ||
|
||
mypy: | ||
poetry run mypy --pretty -p {{SOURCE_DIR}} | ||
poetry run mypy --pretty winregistry.py |
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