Debian Codegraph @

pyproject.toml

raw symbols SCIP
1 [tool.mypy]
2 disallow_any_generics = true
3 explicit_package_bases = true
4 ignore_missing_imports = true
5 namespace_packages = true
6 no_implicit_optional = true
7 pretty = true
8 show_column_numbers = true
9 warn_redundant_casts = true
10 warn_return_any = true
11 warn_unreachable = true
12 exclude = ["thirdparty/"]
13 python_version = "3.8"
14
15 [tool.ruff]
16 extend-exclude = ["thirdparty"]
17 extend-include = ["*SConstruct", "*SCsub"]
18 line-length = 120
19 target-version = "py38"
20
21 [tool.ruff.lint]
22 extend-select = [
23 "I", # isort
24 "UP006", # Use {to} instead of {from} for type annotation
25 "UP007", # Use `X | Y` for type annotations
26 "UP037", # Remove quotes from type annotation
27 "FA", # Future annotations
28 ]
29 extend-safe-fixes = ["UP006", "UP007", "FA"]
30
31 [tool.ruff.lint.per-file-ignores]
32 "{SConstruct,SCsub}" = [
33 "E402", # Module level import not at top of file
34 "F403", # Undefined local with import star
35 "F405", # Undefined local with import star usage
36 ]
37
38 [tool.ruff.lint.isort]
39 sections = { metadata = ["misc.utility.scons_hints"] }
40 section-order = [
41 "future",
42 "metadata",
43 "standard-library",
44 "third-party",
45 "first-party",
46 "local-folder",
47 ]
48
49 [tool.codespell]
50 enable-colors = true
51 write-changes = true
52 check-hidden = true
53 quiet-level = 3
54 builtin = ["clear", "rare", "en-GB_to_en-US"]
55 skip = [
56 ".mailmap",
57 "*.desktop",
58 "*.gitignore",
59 "*.po",
60 "*.pot",
61 "*.rc",
62 "AUTHORS.md",
63 "COPYRIGHT.txt",
64 "core/input/gamecontrollerdb.txt",
65 "core/string/locales.h",
66 "DONORS.md",
67 "editor/project_converter_3_to_4.cpp",
68 "platform/android/java/lib/src/main/java/com/*",
69 "platform/web/package-lock.json",
70 ]
71 ignore-words-list = [
72 "breaked",
73 "cancelled",
74 "checkin",
75 "colour",
76 "curvelinear",
77 "doubleclick",
78 "expct",
79 "findn",
80 "gird",
81 "hel",
82 "inout",
83 "labelin",
84 "lod",
85 "masia",
86 "mis",
87 "nd",
88 "numer",
89 "ot",
90 "outin",
91 "parm",
92 "pEvent",
93 "requestor",
94 "streamin",
95 "te",
96 "textin",
97 "thirdparty",
98 "vai",
99 ]