-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (61 loc) · 2.2 KB
/
pyproject.toml
File metadata and controls
75 lines (61 loc) · 2.2 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
[tool.poetry]
name = "formation-python-complete"
version = "1.0.0"
description = "Formation Python complète et moderne - Du débutant à l'avancé"
authors = ["Nicolas DEOUX <NDXDev@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/NDXDeveloper/formation-python-complete"
repository = "https://github.com/NDXDeveloper/formation-python-complete"
keywords = ["python", "formation", "tutorial", "fastapi", "data-science"]
[tool.poetry.dependencies]
python = "^3.10"
# Web Frameworks
fastapi = {version = "^0.109.0", optional = true}
uvicorn = {extras = ["standard"], version = "^0.27.0", optional = true}
flask = {version = "^3.0.0", optional = true}
requests = {version = "^2.31.0", optional = true}
# Database & ORM
sqlalchemy = {version = "^2.0.25", optional = true}
pydantic = {version = "^2.5.0", optional = true}
# HTTP & Auth
httpx = {version = "^0.27.0", optional = true}
email-validator = {version = "^2.1.0", optional = true}
pyjwt = {version = "^2.8.0", optional = true}
# Data Science
numpy = {version = "^1.24.0", optional = true}
pandas = {version = "^2.1.0", optional = true}
matplotlib = {version = "^3.8.0", optional = true}
plotly = {version = "^5.18.0", optional = true}
[tool.poetry.group.dev.dependencies]
# Type Checking
mypy = "^1.8.0"
# Testing
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
pytest-asyncio = "^0.23.0"
# Code Quality
ruff = ">=0.4.0"
[tool.poetry.extras]
web = ["fastapi", "uvicorn", "flask", "requests", "sqlalchemy", "pydantic", "httpx", "email-validator", "pyjwt"]
data = ["numpy", "pandas", "matplotlib", "plotly"]
all = ["fastapi", "uvicorn", "flask", "requests", "sqlalchemy", "pydantic", "httpx", "email-validator", "pyjwt", "numpy", "pandas", "matplotlib", "plotly"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov --cov-report=html --cov-report=term"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"