forked from yvchao/cvar_sensing
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
53 lines (47 loc) · 1.1 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
[build-system]
# AVOID CHANGING REQUIRES: IT WILL BE UPDATED BY PYSCAFFOLD!
requires = ["setuptools>=46.1.0", "setuptools_scm[toml]>=5"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
version_scheme = "no-guess-dev"
[tool.black]
include = '\.pyi?$'
line-length = 120
target-version = ['py38', 'py39', 'py310']
[tool.isort]
known_first_party = ["cvar_sensing"]
profile = "black"
src_paths = ["src"]
[tool.pylint]
disable = "R,C"
generated-members = "tensorflow.*,torch.*"
ignored-modules = "tensorflow.compat,tensorflow.keras,tensorflow.python.ops,scipy.special"
[tool.ruff]
line-length = 120
select = [
"E",
"F",
"W",
"Q",
"UP",
"I",
"N",
"T201",
"T203",
]
src = ["src"]
isort = { known-first-party = ["cvar_sensing"] }
exclude = ["experiments/exp-synthetic/asac", "experiments/exp-adni/asac"]
[tool.pyright]
exclude = [
"**/node_modules",
"**/__pycache__",
".venv",
"venv"
]
ignore = []
include = ["src"]
reportMissingImports = true
reportMissingTypeStubs = false