File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ profile = "black"
55asyncio_mode = " auto"
66addopts = " --ignore=test_build.py"
77
8+ [tool .ruff ]
9+ extend-select = [" I" ]
10+
811[tool .hatch ]
912
1013[tool .hatch .metadata ]
@@ -17,12 +20,8 @@ path = "fastapi_users_db_beanie/__init__.py"
1720
1821[tool .hatch .envs .default ]
1922dependencies = [
20- " flake8" ,
2123 " pytest" ,
22- " requests" ,
23- " isort" ,
2424 " pytest-asyncio" ,
25- " flake8-docstrings" ,
2625 " black" ,
2726 " mypy" ,
2827 " codecov" ,
@@ -31,6 +30,7 @@ dependencies = [
3130 " asynctest" ,
3231 " httpx" ,
3332 " asgi_lifespan" ,
33+ " ruff" ,
3434]
3535
3636[tool .hatch .envs .default .scripts ]
@@ -42,13 +42,13 @@ test = [
4242]
4343test-cov-xml = " pytest --cov=fastapi_users_db_beanie/ --cov-report=xml --cov-fail-under=100"
4444lint = [
45- " isort ./fastapi_users_db_beanie ./tests" ,
4645 " black . " ,
46+ " ruff --fix ." ,
4747 " mypy fastapi_users_db_beanie/" ,
4848]
4949lint-check = [
50- " isort --check-only ./fastapi_users_db_beanie ./tests" ,
5150 " black --check ." ,
51+ " ruff ." ,
5252 " mypy fastapi_users_db_beanie/" ,
5353]
5454
You can’t perform that action at this time.
0 commit comments