update deps

This commit is contained in:
long2ice
2020-07-06 00:10:07 +08:00
parent fe2ddff88b
commit 77e9d7bc91
6 changed files with 138 additions and 40 deletions

View File

@@ -25,12 +25,13 @@ deps:
@poetry install -E dbdrivers --no-root
style: deps
isort -rc $(checkfiles)
isort -src $(checkfiles)
black $(black_opts) $(checkfiles)
check: deps
black --check $(black_opts) $(checkfiles) || (echo "Please run 'make style' to auto-fix style issues" && false)
flake8 $(checkfiles)
bandit -x tests -r $(checkfiles)
test: deps
$(py_warn) TEST_DB=sqlite://:memory: py.test