-
Notifications
You must be signed in to change notification settings - Fork 46
/
pyproject.toml
59 lines (51 loc) · 1.2 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
[tool.poetry]
name = "transfermarkt-api"
version = "2.0.3"
description = "API service to get data from Transfermarkt"
authors = ["Felipe Allegretti <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
lxml = "==5.1.0"
beautifulsoup4 = "==4.12.3"
requests = "==2.31.0"
fastapi = "==0.109.1"
uvicorn = {extras = ["standard"], version = "==0.27.0.post1"}
slowapi = "==0.1.8"
pydantic-settings = "==2.1.0"
[tool.poetry.group.dev.dependencies]
jupyter = "==1.0.0"
setuptools = "==68.2.2"
[tool.poetry.group.check.dependencies]
black = "==24.2.0"
ruff = "==0.2.2"
interrogate = "==1.5.0"
[tool.poetry.group.tests.dependencies]
pytest = "==7.3.1"
pytest-cov = "==4.1.0"
schema = "==0.7.5"
[tool.black]
line-length = 120
verbose = true
preview = true
[tool.ruff]
line-length = 120
lint.select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"COM", # flake8-commas
"Q", # flake8-quotes
]
[tool.pytest.ini_options]
addopts = "--cov --cov-report term-missing --exitfirst"
testpaths = [
"tests",
]
[tool.interrogate]
ignore-init-module = true
ignore-module = true
fail-under = 100