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:
Dmitry Afanasyev
2023-10-11 22:38:46 +03:00
committed by GitHub
parent 9e3fac0b94
commit 7ef8d6e19d
18 changed files with 182 additions and 43 deletions

View File

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