-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
73 lines (65 loc) · 1.69 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
62
63
64
65
66
67
68
69
70
71
72
73
[tool.poetry]
name = "WTForms-Polyglot"
version = "0.4.0"
description = "WTForms companion library to provide polyglot HTML output"
license = "BSD-3-Clause"
authors = ["Clemens Kaposi <clemens@kaposi.name>"]
readme = "README.md"
repository = "https://gitlab.com/obda/wtforms-polyglot"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [{include = "wtf_polyglot"}]
[tool.poetry.dependencies]
python = "^3.7"
wtforms = "^3.0.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
pytest-cov = "^4.0.0"
pytest-sugar = "^0.9.7"
pre-commit = {version = "^3.1.1", python = ">=3.8"}
radon = "^6.0.1"
[tool.black]
line-length = 79
exclude = '''
/(
\.eggs
| \.git
| \.tox
| build
| dist
)/
'''
[tool.coverage.run]
source = ["wtf_polyglot/"]
[tool.coverage.report]
precision = 2
fail_under = 90.00
[tool.isort]
profile = "black"
line_length = 79
combine_as_imports = true
[tool.pytest.ini_options]
addopts = """\
--doctest-modules \
--cov \
--cov-branch \
--cov-report=term \
--cov-report=html \
"""
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"