-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to use poetry, ruff, mypy (1.1.0) and removed Travis config
- Loading branch information
1 parent
2fe6450
commit 9727444
Showing
19 changed files
with
1,024 additions
and
1,540 deletions.
There are no files selected for viewing
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
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,13 @@ | ||
.PHONY: docs check init test tox | ||
.PHONY: check install test lint | ||
|
||
# installs pipenv and builds the project | ||
init: | ||
sudo pip install pipenv --upgrade | ||
pipenv install -r requirements.dev.txt | ||
pipenv install --dev | ||
lint: | ||
poetry run ruff check src | ||
poetry run mypy src | ||
|
||
# builds the documentation | ||
docs: | ||
pipenv run python setup.py docs | ||
|
||
# runs the unit test suite | ||
test: | ||
pipenv run pytest | ||
poetry run pytest | ||
|
||
tox: | ||
pipenv run tox | ||
install: | ||
poetry install | ||
|
||
# runs a series of checks on the project via tox | ||
check: tox | ||
check: lint test |
Oops, something went wrong.