-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (52 loc) · 1.32 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (52 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[project]
name = "image-processing-service"
version = "0.1.0"
description = "A service for processing images"
authors = ["Dêvid Teófilo"]
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiofiles>=24.1.0",
"alembic>=1.15.1",
"celery>=5.4.0",
"fastapi[standard]>=0.115.11",
"pillow>=11.1.0",
"pwdlib[argon2]>=0.2.1",
"pydantic-settings>=2.8.1",
"pyjwt>=2.10.1",
"python-multipart>=0.0.20",
"slowapi>=0.1.9",
"sqlalchemy>=2.0.39",
]
[dependency-groups]
dev = [
"aiosqlite>=0.21.0",
"factory-boy>=3.3.3",
"pytest>=8.3.5",
"pytest-asyncio>=0.25.3",
"pytest-cov>=6.0.0",
"ruff>=0.11.0",
"taskipy>=1.14.1",
]
[tool.ruff]
line-length = 79
extend-exclude = ['migrations']
[tool.ruff.lint]
preview = true
select = ['I', 'F', 'E', 'W', 'PL', 'PT', 'FAST']
[tool.ruff.format]
preview = true
quote-style = 'single'
[tool.pytest.ini_options]
pythonpath = "."
addopts = '-p no:warnings'
asyncio_default_fixture_loop_scope = 'function'
[tool.taskipy.tasks]
lint = 'ruff check'
pre_format = 'ruff check --fix'
format = 'ruff format'
run = 'fastapi dev image_processing_service/main.py'
celery = 'celery -A image_processing_service.celery worker --loglevel=INFO'
pre_test = 'task lint'
test = 'pytest -s -x --cov=image_processing_service -vv'
post_test = 'coverage html'