-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (64 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
77 lines (64 loc) · 1.54 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[tool.poetry]
name = "label-data"
version = "0.1.0"
description = ""
authors = ["odd <1161465+oddsun@users.noreply.github.com>"]
readme = "README.md"
packages = [{ include = "label_data" }]
[tool.poetry.dependencies]
python = "^3.8.1"
fastapi = "^0.96.0"
aiofiles = "^23.1.0"
alembic = "^1.10.4"
uvicorn = "^0.22.0"
sqlalchemy = "^2.0.12"
pandas = "^2.0.1"
python-dotenv = "^1.0.0"
jinja2 = "^3.1.2"
python-multipart = "^0.0.6"
more-itertools = "^9.1.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
black = "^23.3.0"
flake8 = "^6.0.0"
ruff = "^0.0.267"
isort = "^5.12.0"
mypy = "^1.3.0"
pre-commit = "^3.3.1"
pytest-cov = "^4.0.0"
tox = "^4.5.1"
httpx = "^0.24.0"
[tool.poetry.group.d.dependencies]
exceptiongroup = "^1.1.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--junitxml=pytest.xml --cov=label_data --cov-report term --cov-report html --cov-report xml:coverage.xml"
pythonpath = "label_data"
testpaths = ["tests"]
[tool.ruff]
line-length = 88
select = ["F", "E", "W", "I001"]
fix = true
show-fixes = true
[tool.ruff.isort]
#force-single-line = true
known-first-party = ["label_data"]
[tool.isort]
#force_single_line = true
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
known_first_party = ["label_data"]
[tool.mypy]
plugins = ["sqlalchemy.ext.mypy.plugin"]
ignore_missing_imports = true
[tool.coverage.run]
relative_files = true
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:"
]