mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-15 16:10:39 +03:00
add style check by ruff (#34)
* reformat settings * add init tests for timed lru cache * add check style by ruff
This commit is contained in:
6
Makefile
6
Makefile
@@ -37,6 +37,10 @@ lint-typing:
|
||||
lint-complexity:
|
||||
flake8 $(PY_TARGET_DIRS)
|
||||
|
||||
## Запустить линтер ruff
|
||||
lint-ruff:
|
||||
ruff $(PY_TARGET_DIRS)
|
||||
|
||||
## Проверить зависимостей
|
||||
lint-deps:
|
||||
poetry run poetry check
|
||||
@@ -45,7 +49,7 @@ lint-deps:
|
||||
poetry run pip-audit
|
||||
|
||||
## Запустить все линтеры
|
||||
lint: lint-typing lint-complexity check-import-sorting lint-deps
|
||||
lint: lint-typing lint-complexity check-import-sorting lint-ruff lint-deps
|
||||
|
||||
## Show help
|
||||
help:
|
||||
|
||||
Reference in New Issue
Block a user