File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ profile = "black"
5
5
asyncio_mode = " auto"
6
6
addopts = " --ignore=test_build.py"
7
7
8
+ [tool .ruff ]
9
+ extend-select = [" I" ]
10
+
8
11
[tool .hatch ]
9
12
10
13
[tool .hatch .metadata ]
@@ -17,12 +20,8 @@ path = "fastapi_users_db_beanie/__init__.py"
17
20
18
21
[tool .hatch .envs .default ]
19
22
dependencies = [
20
- " flake8" ,
21
23
" pytest" ,
22
- " requests" ,
23
- " isort" ,
24
24
" pytest-asyncio" ,
25
- " flake8-docstrings" ,
26
25
" black" ,
27
26
" mypy" ,
28
27
" codecov" ,
@@ -31,6 +30,7 @@ dependencies = [
31
30
" asynctest" ,
32
31
" httpx" ,
33
32
" asgi_lifespan" ,
33
+ " ruff" ,
34
34
]
35
35
36
36
[tool .hatch .envs .default .scripts ]
@@ -42,13 +42,13 @@ test = [
42
42
]
43
43
test-cov-xml = " pytest --cov=fastapi_users_db_beanie/ --cov-report=xml --cov-fail-under=100"
44
44
lint = [
45
- " isort ./fastapi_users_db_beanie ./tests" ,
46
45
" black . " ,
46
+ " ruff --fix ." ,
47
47
" mypy fastapi_users_db_beanie/" ,
48
48
]
49
49
lint-check = [
50
- " isort --check-only ./fastapi_users_db_beanie ./tests" ,
51
50
" black --check ." ,
51
+ " ruff ." ,
52
52
" mypy fastapi_users_db_beanie/" ,
53
53
]
54
54
You can’t perform that action at this time.
0 commit comments