forked from PythonistaMX/api-testing-demo
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (49 loc) · 1.1 KB
/
pyproject.toml
File metadata and controls
60 lines (49 loc) · 1.1 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "apiflask-test-demo"
version = "0.1.0"
description = "Paquete que incluye una aplicación API REST."
requires-python = ">=3.11"
dependencies = [
"apiflask>=3.1",
"email-validator>=2.2",
"bcrypt>=4.2",
"Flask-SQLAlchemy>=3.1",
"gunicorn>=23.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3",
"pytest-cov>=6.0",
"tox>=4.23",
"coverage>=7.6",
"ruff>=0.9",
"mypy>=1.13",
]
[tool.hatch.build.targets.wheel]
packages = ["apiflaskdemo"]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "N", "UP", "S", "B"]
ignore = ["S101"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101", "S105"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.11"
strict = false
ignore_missing_imports = true
warn_return_any = true
warn_unused_ignores = true
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.coverage.run]
source = ["apiflaskdemo"]
[tool.coverage.report]
fail_under = 80