Skip to content

Commit

Permalink
installed lints and similar tools
Browse files Browse the repository at this point in the history
  • Loading branch information
msztolcman committed Mar 24, 2021
1 parent 062c6f4 commit 63ff0fa
Show file tree
Hide file tree
Showing 3 changed files with 234 additions and 17 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ upload: ## upload distro
upload-test: ## upload distro to test Pypi
twine upload --repository testpypi dist/sendria*

test: ## run test suite
pytest --nf --ff -q

lint: ## run external tools like flake8, bandit, safety
flake8 sendria
bandit -rq sendria
safety check --bare

.DEFAULT_GOAL := help
help:
@grep -E '(^[a-zA-Z_-]+:.*?##.*$$)|(^##)' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}{printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}' | sed -e 's/\[32m##/[33m/'
9 changes: 9 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@ wheel = "*"
colorama = "*"
sendria = {editable = true,path = "."}
idna = "==2.5.0"
flake8 = "*"
bandit = "*"
pep8-naming = "*"
flake8-bandit = "*"
safety = "*"
flake8-commas = "*"
flake8-mutable = "*"
flake8-walrus = "*"
flake8-annotations = "*"
234 changes: 217 additions & 17 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 63ff0fa

Please sign in to comment.