-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (44 loc) · 1.03 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
[tool.poetry]
name = "movgr-api"
version = "0.1.1"
description = "API para información de movilidad urbana de Granada (bus y metro)"
authors = ["Miguel Ángel Fernández Gutiérrez <yo@mianfg.me>"]
license = "MIT License"
readme = "README.md"
packages = [{ include = "src" }]
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.112.1"
beautifulsoup4 = "^4.12.3"
requests = "^2.32.3"
uvicorn = "^0.30.6"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
ruff = "*"
pytest = "^8.2.2"
httpx = "^0.28.1"
pre-commit = "*"
[tool.poetry.group.lambda]
optional = true
[tool.poetry.group.lambda.dependencies]
mangum = "^0.19.0"
[tool.poetry.scripts]
local = "src.app:run"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
show-fixes = true
src = ["src",]
target-version = "py312"
select = [
"E", # Error
"F", # Flake8
"I", # iSort rules
"PL", # Pylint rules
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]