Debian Codegraph @

testing/web-platform/tests/tools/third_party/pluggy/pyproject.toml

raw
1 [build-system]
2 requires = [
3 # sync with setup.py until we discard non-pep-517/518
4 "setuptools>=45.0",
5 "setuptools-scm[toml]>=6.2.3",
6 ]
7 build-backend = "setuptools.build_meta"
8
9
10 [tool.ruff.lint]
11 select = [
12 "I", # isort
13 ]
14
15 [tool.ruff.lint.isort]
16 force-single-line = true
17 combine-as-imports = true
18 force-sort-within-sections = true
19 order-by-type = false
20 known-local-folder = ["pluggy"]
21 lines-after-imports = 2
22
23 [tool.setuptools_scm]
24 write_to = "src/pluggy/_version.py"
25
26 [tool.towncrier]
27 package = "pluggy"
28 package_dir = "src/pluggy"
29 filename = "CHANGELOG.rst"
30 directory = "changelog/"
31 title_format = "pluggy {version} ({project_date})"
32 template = "changelog/_template.rst"
33
34 [[tool.towncrier.type]]
35 directory = "removal"
36 name = "Deprecations and Removals"
37 showcontent = true
38
39 [[tool.towncrier.type]]
40 directory = "feature"
41 name = "Features"
42 showcontent = true
43
44 [[tool.towncrier.type]]
45 directory = "bugfix"
46 name = "Bug Fixes"
47 showcontent = true
48
49 [[tool.towncrier.type]]
50 directory = "vendor"
51 name = "Vendored Libraries"
52 showcontent = true
53
54 [[tool.towncrier.type]]
55 directory = "doc"
56 name = "Improved Documentation"
57 showcontent = true
58
59 [[tool.towncrier.type]]
60 directory = "trivial"
61 name = "Trivial/Internal Changes"
62 showcontent = true
63
64 [tool.mypy]
65 mypy_path = "src"
66 check_untyped_defs = true
67 # Hopefully we can set this someday!
68 # disallow_any_expr = true
69 disallow_any_generics = true
70 disallow_any_unimported = true
71 disallow_subclassing_any = true
72 disallow_untyped_calls = true
73 disallow_untyped_decorators = true
74 ignore_missing_imports = true
75 implicit_reexport = false
76 no_implicit_optional = true
77 show_error_codes = true
78 strict_equality = true
79 strict_optional = true
80 warn_redundant_casts = true
81 warn_return_any = true
82 warn_unreachable = true
83 warn_unused_configs = true
84 warn_unused_ignores = true