-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
71 lines (60 loc) · 1.58 KB
/
pyproject.toml
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
[tool.poetry]
name = "eolic"
version = "0.1.0"
description = ""
authors = ["Thiago Goslar <[email protected]>"]
readme = "readme.md"
packages = [{ include = "eolic" }]
license = "MIT"
homepage = "https://github.com/thiarthur/eolic"
repository = "https://github.com/thiarthur/eolic"
documentation = "https://github.com/thiarthur/eolic/tree/master/docs"
[tool.poetry.dependencies]
python = "^3.9,<4.0"
pydantic = "^2.8.2"
requests = "^2.32.3"
fastapi = { version="*", optional= true }
uvicorn = { version="*", optional= true }
celery = { version="*", optional= true }
[tool.poetry.extras]
fastapi = ["fastapi", "uvicorn"]
celery = ["celery"]
all = ["fastapi", "uvicorn", "celery"]
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
flake8 = "^7.1.0"
mypy = "^1.10.1"
types-requests = "^2.32.0.20240622"
pre-commit = "^3.7.1"
pydocstyle = "^6.3.0"
flake8-pyproject = "^1.2.3"
commitizen = "^3.28.0"
httpx = "^0.27.0"
[tool.poetry.group.test.dependencies]
pytest = "^8.2.2"
pytest-mock = "^3.14.0"
pytest-cov = "^5.0.0"
pytest-order = "^1.2.1"
pytest-asyncio = "^0.23.8"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "pep440"
version_provider = "poetry"
update_changelog_on_bump = true
major_version_zero = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
exclude = ["tests/"]
no_namespace_packages = true
ignore_missing_imports = true
[tool.flake8]
max-line-length = 105
[tool.pydocstyle]
match = '((?!.run).)*\.py'
[tool.bandit]
exclude_dirs = ["tests/"]
[tool.pytest.ini_options]
asyncio_mode = "auto"