chore: upgrade deps, add tortoise0.23 to ci (#399)
This commit is contained in:
7
Makefile
7
Makefile
@@ -6,7 +6,7 @@ MYSQL_PORT ?= 3306
|
||||
MYSQL_PASS ?= "123456"
|
||||
POSTGRES_HOST ?= "127.0.0.1"
|
||||
POSTGRES_PORT ?= 5432
|
||||
POSTGRES_PASS ?= "123456"
|
||||
POSTGRES_PASS ?= 123456
|
||||
|
||||
up:
|
||||
@poetry update
|
||||
@@ -23,10 +23,7 @@ _check:
|
||||
@black --check $(black_opts) $(checkfiles) || (echo "Please run 'make style' to auto-fix style issues" && false)
|
||||
@ruff check $(checkfiles)
|
||||
@mypy $(checkfiles)
|
||||
ifneq ($(shell python -c 'import sys;is_py38=sys.version_info<(3,9);rc=int(is_py38);sys.exit(rc)'),)
|
||||
# Run bandit with Python3.9+, as the `usedforsecurity=...` parameter of `hashlib.new` is only added from Python 3.9 onwards.
|
||||
@bandit -r aerich
|
||||
endif
|
||||
check: deps _check
|
||||
|
||||
test: deps
|
||||
@@ -47,4 +44,4 @@ testall: deps _testall
|
||||
build: deps
|
||||
@poetry build
|
||||
|
||||
ci: check _testall
|
||||
ci: build _check _testall
|
||||
|
||||
Reference in New Issue
Block a user