fix tests

Former-commit-id: f6d6e00337
This commit is contained in:
hiyouga
2024-01-20 19:58:04 +08:00
parent 69e8925249
commit 2f7684a8ee
12 changed files with 80 additions and 65 deletions

11
Makefile Normal file
View File

@@ -0,0 +1,11 @@
.PHONY: quality style
check_dirs := src tests
quality:
black --check $(check_dirs)
ruff $(check_dirs)
style:
black $(check_dirs)
ruff $(check_dirs) --fix