-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
70 lines (61 loc) · 1.73 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
[tool.poetry]
name = "django-tapeforms"
version = "1.2.0"
description = "A helper to render Django forms using HTML templates."
authors = [
"Stephan Jaekel <steph@rdev.info>",
]
license = "MIT"
readme = "README.rst"
homepage = 'https://github.com/stephrdev/django-tapeforms'
repository = 'https://github.com/stephrdev/django-tapeforms'
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
packages = [{ include = "tapeforms" }]
include = ["LICENSE.rst"]
[tool.poetry.dependencies]
python = ">=3.8,<4"
Django = ">=2.2"
Sphinx = {version = ">=3.5", optional = true}
[tool.poetry.dev-dependencies]
pytest = ">=7.1"
pytest-cov = ">=3.0"
pytest-django = ">=4.5"
pytest-flake8 = ">=1.1"
pytest-isort = ">=3.0"
pytest-black = ">=0.3"
pytest-snapshot = ">=0.6"
flake8 = "<5"
coverage = {version = ">=6.4", extras = ["toml"]}
[tool.poetry.extras]
docs = ["Sphinx"]
[build-system]
requires = ["poetry>=1.2"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
addopts = "-v --tb=short --nomigrations"
testpaths = ["tapeforms", "tests"]
flake8-max-line-length = 96
flake8-ignore = ["E203", "E266", "E501", "W503"]
flake8-max-complexity = 18
DJANGO_SETTINGS_MODULE = "tests.settings"
[tool.black]
line-length = 96
skip-string-normalization = true
skip-numeric-underscore-normalization = true
include = "\\.pyi?$"
exclude = "/(\\.git|\\.tox|build|dist)/"
[tool.coverage.run]
branch = true
source = ["tapeforms"]
omit = ["*/__init__.py"]
[tool.coverage.report]
exclude_lines = ["raise NotImplementedError"]