-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (63 loc) · 1.21 KB
/
pyproject.toml
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
61
62
63
64
65
66
67
68
69
70
[project]
name = "kanae"
version = "0.1.0"
description = "Internal backend server for ACM @ UC Merced"
readme = "README.md"
requires-python = ">=3.9,<4.0"
[tool.pyright]
include = [
"utils/**",
"core.py",
"launcher.py"
]
exclude = [
"**/__pycache__",
"**/.mypy_cache",
"**/.dmpypy.json",
"docs",
"docker"
]
reportMissingImports = true
typeCheckingMode = "basic"
reportUnnecessaryTypeIgnoreComment = "warning"
[tool.bandit]
skips = ["B311", "B101"]
[tool.ruff]
line-length = 88
extend-include = [
"core.py",
"launcher.py",
"utils/**"
]
extend-exclude = ["**/__pycache__"]
[tool.ruff.lint]
ignore = [
"E501",
"N999",
"E402",
"S311",
"ASYNC109",
"S101",
# These are recommended by Ruff if the formatter is to be used: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002"
]
select = ["E", "F", "N", "ASYNC", "S", "ERA", "I"]
fixable = ["ALL"]
[tool.ruff.lint.isort]
combine-as-imports = true
force-wrap-aliases = true
[tool.ruff.format]
docstring-code-format = true