-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (52 loc) · 951 Bytes
/
pyproject.toml
File metadata and controls
60 lines (52 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[tool.mypy]
cache_dir = "build/.mypy_cache"
explicit_package_bases = true
mypy_path = "$MYPY_CONFIG_FILE_DIR/src/sst/core/testingframework"
python_version = "3.9"
strict = true
warn_unused_ignores = true
exclude = [
'^scripts/',
'^tests/',
]
[[tool.mypy.overrides]]
module = [
"blessings",
"sst",
"testtools",
"testtools.testsuite",
]
ignore_missing_imports = true
[tool.pyright]
pythonVersion = "3.9"
[tool.ruff]
cache-dir = "build/.ruff_cache"
line-length = 100
target-version = "py39"
[tool.ruff.lint]
ignore = [
"E401",
"E402",
"E701",
"E703",
"E713",
"E722",
"E731",
"F401",
"F403",
"F405",
"F523",
"F841",
]
[tool.ruff.lint.isort]
known-first-party = ["sst"]
lines-after-imports = 2
section-order = [
"future",
"standard-library",
"first-party",
"third-party",
"local-folder",
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"