Debian Codegraph @

pyproject.toml

raw symbols SCIP
1 [build-system]
2 build-backend = "flit_core.buildapi"
3 requires = [
4 "flit_core<4,>=3.11",
5 ]
6
7 [project]
8 name = "installer"
9 readme = "README.md"
10 authors = [
11 { name = "Pradyun Gedam", email = "[email protected]" },
12 ]
13 requires-python = ">=3.10"
14 license = "MIT"
15 classifiers = [
16 "Programming Language :: Python :: 3 :: Only",
17 "Programming Language :: Python :: 3.10",
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 ]
23 dynamic = [
24 "description",
25 "version",
26 ]
27 [project.urls]
28 "GitHub" = "https://github.com/pypa/installer"
29
30 [tool.flit.sdist]
31 include = [
32 "docs/",
33 "tests/",
34 ]
35
36 [tool.ruff]
37 fix = true
38 extend-exclude = [
39 "noxfile.py",
40 "docs/*",
41 ]
42
43 [tool.ruff.lint]
44 extend-select = [
45 "ERA", # eradicate
46 "B", # flake8-bugbear
47 "C4", # flake8-comprehensions
48 "ISC", # flake8-implicit-str-concat
49 "PTH", # flake8-use-pathlib
50 "PIE", # flake8-pie
51 "T20", # flake8-print
52 "SIM", # flake8-simplify
53 "TID", # flake8-tidy-imports
54 "TC", # flake8-type-checking
55 "FLY", # flynt
56 "I", # isort
57 "N", # pep8-naming
58 "W", # pycodestyle warnings
59 "D", # pydocstyle
60 "PGH", # pygrep-hooks
61 "UP", # pyupgrade
62 "RUF", # ruff rules
63 ]
64 ignore = [
65 "D105",
66 "D203",
67 "D213",
68 # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
69 "W191",
70 "E111",
71 "E114",
72 "E117",
73 "E501",
74 "N818",
75 ]
76
77 [tool.ruff.lint.per-file-ignores]
78 "tests/*" = ["D"]
79 "tools/*" = ["D", "T20"]
80
81 [tool.ruff.lint.isort]
82 known-first-party = ["src"]
83
84 [tool.coverage.report]
85 exclude_lines = [
86 "pragma: no cover",
87 "def __repr__",
88 "if TYPE_CHECKING:",
89 ]
90
91 [tool.mypy]
92 files = "src,tools"
93 strict = true
94 warn_unreachable = true
95 enable_error_code = [
96 "ignore-without-code",
97 "redundant-expr",
98 "truthy-bool",
99 ]