Debian Codegraph @

pyproject.toml

raw symbols SCIP
1 [project]
2 name = "Flask-WTF"
3 description = "Form rendering, validation, and CSRF protection for Flask with WTForms."
4 readme = "README.rst"
5 license = {file = "LICENSE.rst"}
6 maintainers = [{name = "WTForms"}]
7 classifiers = [
8 "Development Status :: 5 - Production/Stable",
9 "Environment :: Web Environment",
10 "Intended Audience :: Developers",
11 "License :: OSI Approved :: BSD License",
12 "Operating System :: OS Independent",
13 "Programming Language :: Python",
14 "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
15 "Topic :: Internet :: WWW/HTTP :: WSGI",
16 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
17 "Topic :: Software Development :: Libraries :: Application Frameworks",
18 ]
19 requires-python = ">=3.10"
20 dependencies = [
21 "Flask",
22 "WTForms",
23 "itsdangerous",
24 ]
25 dynamic = ["version"]
26
27 [project.urls]
28 Documentation = "https://flask-wtf.readthedocs.io/"
29 Changes = "https://flask-wtf.readthedocs.io/changes/"
30 "Source Code" = "https://github.com/pallets-eco/flask-wtf/"
31 "Issue Tracker" = "https://github.com/pallets-eco/flask-wtf/issues/"
32 Chat = "https://discord.gg/pallets"
33
34 [project.optional-dependencies]
35 email = ["email_validator"]
36
37 [dependency-groups]
38 test = [
39 "pytest",
40 ]
41 test-babel = [
42 "Flask-Babel",
43 "flask-reuploaded",
44 ]
45 docs = [
46 "Pallets-Sphinx-Themes",
47 "Sphinx",
48 "sphinx-issues",
49 "sphinxcontrib-log-cabinet",
50 ]
51 dev = [
52 "pre-commit",
53 "tox",
54 "tox-uv",
55 ]
56
57 [build-system]
58 requires = ["hatchling"]
59 build-backend = "hatchling.build"
60
61 [tool.hatch.build.targets.wheel]
62 packages = ["src/flask_wtf"]
63
64 [tool.hatch.version]
65 path = "src/flask_wtf/__init__.py"
66
67 [tool.hatch.build]
68 include = [
69 "src/",
70 "docs/",
71 "tests/",
72 "examples/",
73 "CHANGES.rst",
74 "CONTRIBUTING.rst",
75 "tox.ini",
76 ]
77 exclude = [
78 "docs/_build/",
79 ]
80
81 [tool.pytest.ini_options]
82 testpaths = ["tests"]
83 filterwarnings = [
84 "error",
85 ]
86
87 [tool.coverage.run]
88 branch = true
89 source = ["flask_wtf", "tests"]
90
91 [tool.coverage.paths]
92 source = ["src", "*/site-packages"]
93
94 [tool.coverage.report]
95 exclude_lines = [
96 "pragma: no cover",
97 "except ImportError:",
98 ]
99
100 [tool.ruff]
101 src = ["src"]
102 fix = true
103 show-fixes = true
104 output-format = "full"
105
106 [tool.ruff.lint]
107 select = [
108 "B", # flake8-bugbear
109 "E", # pycodestyle error
110 "F", # pyflakes
111 "I", # isort
112 "UP", # pyupgrade
113 "W", # pycodestyle warning
114 ]
115
116 [tool.ruff.lint.isort]
117 force-single-line = true
118 order-by-type = false