chore: upgrade deps, add tortoise0.23 to ci (#399)

This commit is contained in:
Waket Zheng
2024-12-27 12:30:34 +08:00
committed by GitHub
parent 5e8a7c7e91
commit c1dea4e846
3 changed files with 171 additions and 171 deletions

View File

@@ -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