Debian Codegraph @

pyproject.toml

raw
1 [project]
2 name = "Jinja2"
3 description = "A very fast and expressive template engine."
4 readme = "README.md"
5 license = {file = "LICENSE.txt"}
6 maintainers = [{name = "Pallets", email = "[email protected]"}]
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 :: Text Processing :: Markup :: HTML",
16 "Typing :: Typed",
17 ]
18 requires-python = ">=3.7"
19 dependencies = ["MarkupSafe>=2.0"]
20 dynamic = ["version"]
21
22 [project.urls]
23 Donate = "https://palletsprojects.com/donate"
24 Documentation = "https://jinja.palletsprojects.com/"
25 Changes = "https://jinja.palletsprojects.com/changes/"
26 Source = "https://github.com/pallets/jinja/"
27 Chat = "https://discord.gg/pallets"
28
29 [project.optional-dependencies]
30 i18n = ["Babel>=2.7"]
31
32 [project.entry-points."babel.extractors"]
33 jinja2 = "jinja2.ext:babel_extract[i18n]"
34
35 [build-system]
36 requires = ["flit_core<4"]
37 build-backend = "flit_core.buildapi"
38
39 [tool.flit.module]
40 name = "jinja2"
41
42 [tool.flit.sdist]
43 include = [
44 "docs/",
45 "requirements/",
46 "tests/",
47 "CHANGES.md",
48 "tox.ini",
49 ]
50 exclude = [
51 "docs/_build/",
52 ]
53
54 [tool.pytest.ini_options]
55 testpaths = ["tests"]
56 filterwarnings = [
57 "error",
58 ]
59
60 [tool.coverage.run]
61 branch = true
62 source = ["jinja2", "tests"]
63
64 [tool.coverage.paths]
65 source = ["src", "*/site-packages"]
66
67 [tool.mypy]
68 python_version = "3.8"
69 files = ["src/jinja2"]
70 show_error_codes = true
71 pretty = true
72 strict = true
73
74 [tool.pyright]
75 pythonVersion = "3.8"
76 include = ["src/jinja2"]
77 typeCheckingMode = "basic"
78
79 [tool.ruff]
80 src = ["src"]
81 fix = true
82 show-fixes = true
83 output-format = "full"
84
85 [tool.ruff.lint]
86 select = [
87 "B", # flake8-bugbear
88 "E", # pycodestyle error
89 "F", # pyflakes
90 "I", # isort
91 "UP", # pyupgrade
92 "W", # pycodestyle warning
93 ]
94
95 [tool.ruff.lint.isort]
96 force-single-line = true
97 order-by-type = false
98
99 [tool.gha-update]
100 tag-only = [
101 "slsa-framework/slsa-github-generator",
102 ]