• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[metadata]
2name = Jinja2
3version = attr: jinja2.__version__
4url = https://palletsprojects.com/p/jinja/
5project_urls =
6    Donate = https://palletsprojects.com/donate
7    Documentation = https://jinja.palletsprojects.com/
8    Changes = https://jinja.palletsprojects.com/changes/
9    Source Code = https://github.com/pallets/jinja/
10    Issue Tracker = https://github.com/pallets/jinja/issues/
11    Twitter = https://twitter.com/PalletsTeam
12    Chat = https://discord.gg/pallets
13license = BSD-3-Clause
14license_files = LICENSE.rst
15author = Armin Ronacher
16author_email = armin.ronacher@active-4.com
17maintainer = Pallets
18maintainer_email = contact@palletsprojects.com
19description = A very fast and expressive template engine.
20long_description = file: README.rst
21long_description_content_type = text/x-rst
22classifiers =
23    Development Status :: 5 - Production/Stable
24    Environment :: Web Environment
25    Intended Audience :: Developers
26    License :: OSI Approved :: BSD License
27    Operating System :: OS Independent
28    Programming Language :: Python
29    Topic :: Internet :: WWW/HTTP :: Dynamic Content
30    Topic :: Text Processing :: Markup :: HTML
31
32[options]
33packages = find:
34package_dir = = src
35include_package_data = True
36python_requires = >= 3.7
37# Dependencies are in setup.py for GitHub's dependency graph.
38
39[options.packages.find]
40where = src
41
42[options.entry_points]
43babel.extractors =
44    jinja2 = jinja2.ext:babel_extract[i18n]
45
46[tool:pytest]
47testpaths = tests
48filterwarnings =
49    error
50    # Python 3.9 raises a deprecation from internal asyncio code.
51    ignore:The loop argument:DeprecationWarning:asyncio[.]base_events:542
52
53[coverage:run]
54branch = True
55source =
56    jinja2
57    tests
58
59[coverage:paths]
60source =
61    src
62    */site-packages
63
64[flake8]
65# B = bugbear
66# E = pycodestyle errors
67# F = flake8 pyflakes
68# W = pycodestyle warnings
69# B9 = bugbear opinions
70# ISC = implicit str concat
71select = B, E, F, W, B9, ISC
72ignore =
73    # slice notation whitespace, invalid
74    E203
75    # line length, handled by bugbear B950
76    E501
77    # bare except, handled by bugbear B001
78    E722
79    # bin op line break, invalid
80    W503
81# up to 88 allowed by bugbear B950
82max-line-length = 80
83per-file-ignores =
84    # __init__ exports names
85    src/jinja2/__init__.py: F401
86
87[mypy]
88files = src/jinja2
89python_version = 3.7
90show_error_codes = True
91disallow_subclassing_any = True
92disallow_untyped_calls = True
93disallow_untyped_defs = True
94disallow_incomplete_defs = True
95no_implicit_optional = True
96local_partial_types = True
97no_implicit_reexport = True
98strict_equality = True
99warn_redundant_casts = True
100warn_unused_configs = True
101warn_unused_ignores = True
102warn_return_any = True
103warn_unreachable = True
104
105[mypy-jinja2.defaults]
106no_implicit_reexport = False
107
108[mypy-markupsafe]
109no_implicit_reexport = False
110