-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from Diapolo10/nightly
Version 0.2
- Loading branch information
Showing
16 changed files
with
1,071 additions
and
710 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.PHONY: all clean lint test tox type | ||
|
||
CMD := poetry run | ||
PYMODULE := iplib3 | ||
TESTS := tests | ||
|
||
# Remember to activate Poetry's virtual environment in the project root folder | ||
# | ||
# Only once (ideally): | ||
# > pip install poetry | ||
# > poetry install | ||
# | ||
# Every time: | ||
# > poetry shell | ||
|
||
all: type lint test | ||
|
||
lint: | ||
# Configured in pyproject.toml | ||
$(CMD) pflake8 | ||
$(CMD) pylint $(PYMODULE) | ||
|
||
type: | ||
$(CMD) mypy $(PYMODULE) $(TESTS) | ||
|
||
test: | ||
# Configured in pyproject.toml | ||
$(CMD) pytest | ||
|
||
tox: | ||
# Configured in pyproject.toml | ||
$(CMD) tox | ||
|
||
clean: | ||
git clean -Xdf # Delete all files in .gitignore |
Oops, something went wrong.