-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
59 lines (49 loc) · 1.25 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "bcp47py"
version = "1.0.0"
description = "Provides standardized tags that is used to identify human languages and regions."
authors = ["Guillermo Ferrer Bosque"]
readme = "README.rst"
[tool.poetry.dependencies]
python = ">=3.9 <4.0"
pydantic = "^2.6.4"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
sphinx = "^7.2.6"
mypy = "^1.6.0"
pytest-cov = "^4.1.0"
pytest-xdist = "^3.3.1"
pytest-yapf3 = "^0.7.0"
yapf = "^0.40.2"
tox = "^4.11.3"
pytest-pylint = "^0.21.0"
sphinx-rtd-theme = "^1.3.0"
sphinx-autoapi = "^3.0.0"
autodoc-pydantic = "^2.0.1"
[tool.pylint]
max-line-length = 120
ignore-paths = ['docs']
[tool.pytest.ini_options]
pythonpath = ["src/bcp47py"]
addopts = "--strict-markers" #--yapf --yapfdiff --pylint" #--cov --cov-append -n auto
markers = [
"download: download data from external resources.",
"non_mocked: parse full data without mocking."
]
[tool.yapf]
COLUMN_LIMIT = 120
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39, py310, py311, py312
isolated_build = true
[testenv]
allowlist_externals = poetry
commands_pre =
poetry install --no-root --sync
commands =
poetry run pytest tests/ --import-mode importlib
"""