Debian Codegraph @

pyproject.toml

raw ◀ ▶
Source reconstructed at patch state 1 of 3 — not the installed (fully patched) source.
3 Debian patches touch this file
1 [build-system]
2 requires = ["flit_core >=3.4,<4"]
3 build-backend = "flit_core.buildapi"
4
5 [project]
6 name = "sphinx_design"
7 dynamic = ["version"]
8 description = "A sphinx extension for designing beautiful, view size responsive web components."
9 authors = [{name = "Chris Sewell", email = "[email protected]"}]
10 readme = "README.md"
11 license = {file = "LICENSE"}
12 classifiers = [
13 "Development Status :: 4 - Beta",
14 "Framework :: Sphinx :: Extension",
15 "Intended Audience :: Developers",
16 "License :: OSI Approved :: MIT License",
17 "Programming Language :: Python :: 3",
18 "Programming Language :: Python :: 3.11",
19 "Programming Language :: Python :: 3.12",
20 "Programming Language :: Python :: 3.13",
21 "Programming Language :: Python :: 3.14",
22 "Programming Language :: Python :: Implementation :: CPython",
23 "Topic :: Software Development :: Libraries :: Python Modules",
24 "Topic :: Text Processing :: Markup",
25 "Topic :: Text Processing :: Markup :: Markdown",
26 "Topic :: Text Processing :: Markup :: reStructuredText",
27 ]
28 keywords = ["sphinx", "extension", "material design", "web components"]
29 requires-python = ">=3.11"
30 dependencies = ["sphinx>=7,<10"]
31
32 [project.urls]
33 Homepage = "https://github.com/executablebooks/sphinx-design"
34 Documentation = "https://sphinx-design.readthedocs.io"
35
36 [project.optional-dependencies]
37 code-style = ["pre-commit>=3,<4"]
38 rtd = ["myst-parser>=4,<6"]
39 testing = [
40 "myst-parser>=4,<6",
41 "pytest~=8.3",
42 "pytest-cov",
43 "pytest-regressions",
44 "defusedxml",
45 ]
46 testing-no-myst = [
47 "pytest~=8.3",
48 "pytest-cov",
49 "pytest-regressions",
50 "defusedxml",
51 ]
52
53 theme-furo = ["furo>=2024.7.18,<2024.9.0"]
54 theme-pydata = ["pydata-sphinx-theme~=0.15.2"]
55 theme-rtd = ["sphinx-rtd-theme~=2.0"]
56 theme-sbt = ["sphinx-book-theme~=1.1"]
57 theme-im = ["sphinx-immaterial~=0.12.2"]
58
59 [dependency-groups]
60 mypy = ["mypy==1.19.1"]
61 ruff = ["ruff==0.14.11"]
62
63 [tool.flit.sdist]
64 exclude = [
65 "docs/",
66 "style/",
67 "tests/",
68 ]
69
70 [tool.ruff.lint]
71 extend-select = [
72 "B", # flake8-bugbear
73 "C4", # flake8-comprehensions
74 # "FURB",# refurb (modernising code)
75 "I", # isort
76 "ICN", # flake8-import-conventions
77 "ISC", # flake8-implicit-str-concat
78 "N", # pep8-naming
79 "PERF",# perflint (performance anti-patterns)
80 "PGH", # pygrep-hooks
81 "PIE", # flake8-pie
82 "PL", # pylint
83 "PTH", # flake8-use-pathlib
84 "RUF", # Ruff-specific rules
85 "SIM", # flake8-simplify
86 "UP", # pyupgrade
87 "T20", # flake8-print
88 ]
89 extend-ignore = [
90 "ISC001", # implicit-str-concat
91 "PLR2004",
92 "RUF012",
93 ]
94
95 # [tool.ruff.lint.per-file-ignores]
96 # "..." = ["N801"]
97
98 [tool.ruff.lint.isort]
99 force-sort-within-sections = true
100
101 [tool.mypy]
102 show_error_codes = true
103 warn_unused_ignores = true
104 warn_redundant_casts = true
105 no_implicit_optional = true
106 strict_equality = true
107
108 [[tool.mypy.overrides]]
109 module = ["docutils.*"]
110 ignore_missing_imports = true