Debian Codegraph @

pyproject.toml

raw
1 [project]
2 name = "itsdangerous"
3 version = "2.2.0"
4 description = "Safely pass data to untrusted environments and back."
5 readme = "README.md"
6 license = { file = "LICENSE.txt" }
7 maintainers = [{ name = "Pallets", email = "[email protected]" }]
8 classifiers = [
9 "Development Status :: 5 - Production/Stable",
10 "Intended Audience :: Developers",
11 "License :: OSI Approved :: BSD License",
12 "Operating System :: OS Independent",
13 "Programming Language :: Python",
14 "Typing :: Typed",
15 ]
16 requires-python = ">=3.8"
17
18 [project.urls]
19 Donate = "https://palletsprojects.com/donate"
20 Documentation = "https://itsdangerous.palletsprojects.com/"
21 Changes = "https://itsdangerous.palletsprojects.com/changes/"
22 Source = "https://github.com/pallets/itsdangerous/"
23 Chat = "https://discord.gg/pallets"
24
25 [build-system]
26 requires = ["flit_core<4"]
27 build-backend = "flit_core.buildapi"
28
29 [tool.flit.module]
30 name = "itsdangerous"
31
32 [tool.flit.sdist]
33 include = [
34 "docs/",
35 "requirements/",
36 "tests/",
37 "CHANGES.rst",
38 "tox.ini",
39 ]
40 exclude = [
41 "docs/_build/",
42 ]
43
44 [tool.pytest.ini_options]
45 testpaths = ["tests"]
46 filterwarnings = [
47 "error",
48 ]
49
50 [tool.coverage.run]
51 branch = true
52 source = ["itsdangerous", "tests"]
53
54 [tool.coverage.paths]
55 source = ["src", "*/site-packages"]
56
57 [tool.mypy]
58 python_version = "3.8"
59 files = ["src/itsdangerous"]
60 show_error_codes = true
61 pretty = true
62 strict = true
63
64 [tool.pyright]
65 pythonVersion = "3.8"
66 include = ["src/itsdangerous"]
67 typeCheckingMode = "basic"
68
69 [tool.ruff]
70 src = ["src"]
71 fix = true
72 show-fixes = true
73 output-format = "full"
74
75 [tool.ruff.lint]
76 select = [
77 "B", # flake8-bugbear
78 "E", # pycodestyle error
79 "F", # pyflakes
80 "I", # isort
81 "UP", # pyupgrade
82 "W", # pycodestyle warning
83 ]
84 ignore-init-module-imports = true
85
86 [tool.ruff.lint.isort]
87 force-single-line = true
88 order-by-type = false