-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
61 lines (52 loc) · 1.41 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
[tool.poetry]
name = "pydantic-tfl-api"
version = "1.2.2"
description = "A Pydantic-based wrapper for the TfL Unified API https://api-portal.tfl.gov.uk/. Not associated with or endorsed by TfL."
authors = ["Rob Aleck <mnbf9rca@users.noreply.github.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/mnbf9rca/pydantic_tfl_api"
repository = "https://github.com/mnbf9rca/pydantic_tfl_api"
keywords = ["pydantic", "tfl", "tfl-api", "transport-for-london", "unified-api"]
[tool.poetry.dependencies]
python = ">3.9,<4.0"
pydantic = ">=2.8.2,<3.0"
requests = ">=2.32.3,<3.0"
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
pytest = "^8.2.2"
pytest-asyncio = "^0.23.7 || ^0.24.0"
pytest-cov = "^5.0.0 || ^6.0.0"
flake8 = "^7.1.0"
Flake8-pyproject = "^1.2.3"
coverage = {extras = ["toml"], version = "^7.5.4"}
pre-commit = "^3.8.0 || ^4.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
omit = [
"*/test/*",
"*/tests/*",
"*/venv/*",
"*/.venv/*",
"*/.tox/*",
"*/.eggs/*",
"*/.vscode-remote/*",
"*/build_script/*",
]
relative_files = true
[tool.pytest.ini_options]
addopts = "--cov --cov-branch --cov-report term-missing -vv --strict-markers -rfE"
[tool.flake8]
max-line-length = 120
exclude = [
".git",
"__pycache__",
"docs/source/conf.py",
"old",
"build",
"dist",
"venv",
"build_script",
]