-
Notifications
You must be signed in to change notification settings - Fork 19
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
cb544a7
commit e731197
Showing
116 changed files
with
11,701 additions
and
3,809 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,39 +1,32 @@ | ||
.PHONY: deps | ||
deps: | ||
@python3.10 -m pip install -r requirements.dev.txt | ||
@python3.10 -m pip install -r requirements.txt | ||
@python -m pip install -r requirements.dev.txt | ||
@python -m pip install -r requirements.txt | ||
|
||
.PHONY: fmt | ||
fmt: | ||
@black --config=pyproject.toml . | ||
@autoflake --config=pyproject.toml . | ||
@isort . | ||
@ruff check --fix | ||
@ruff format | ||
|
||
.PHONY: fmt-check | ||
fmt-check: | ||
@black --config=pyproject.toml . --check | ||
@autoflake --config=pyproject.toml . --check | ||
@isort . --check-only | ||
|
||
@ruff check | ||
@ruff format --check | ||
|
||
.PHONY: test | ||
test: | ||
@python3.10 -m pytest test/ | ||
|
||
.PHONY: reqs | ||
reqs: | ||
@pipreqs --force --mode compat | ||
@python -m pytest test/ | ||
|
||
.PHONY: pkg-build | ||
pkg-build: | ||
@rm -rf build | ||
@rm -rf dist | ||
@python3.10 setup.py sdist bdist_wheel | ||
@python setup.py sdist bdist_wheel | ||
|
||
.PHONY: pkg-test | ||
pkg-test: | ||
@python3.10 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* | ||
@python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* | ||
|
||
.PHONY: pkg-prod | ||
pkg-prod: | ||
@python3.10 -m twine upload dist/* | ||
@python -m twine upload dist/* |
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
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
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
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
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
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
Oops, something went wrong.