-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: replace setup.py with poetry * chore: Update pre-commit config
- Loading branch information
Showing
6 changed files
with
650 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
help: | ||
@echo "lint - lint code" | ||
@echo "install-dev - install all dependencies for development" | ||
|
||
install-dev: | ||
poetry install --with dev --all-extras | ||
|
||
lint: | ||
@ERROR=0; \ | ||
poetry run isort archivooor || ERROR=1; \ | ||
poetry run black archivooor || ERROR=1; \ | ||
poetry run pydocstyle archivooor || ERROR=1; \ | ||
poetry run pylint archivooor || ERROR=1; \ | ||
poetry run mypy archivooor || ERROR=1; \ | ||
poetry run pre-commit run --all || ERROR=1; \ | ||
exit $$ERROR |
File renamed without changes.
Oops, something went wrong.