-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
57 lines (54 loc) · 1.4 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
[project]
name = "dielectrics"
dependencies = [
"automatminer",
"gurobipy",
"matminer",
"matplotlib",
"ml-matrics",
"numpy",
"pandas",
"scikit-learn",
"scikit-optimize",
"scipy",
"seaborn",
"tensorflow",
"tensorflow-probability",
"torch",
"tqdm",
"umap-learn",
]
[tool.codespell]
ignore-words-list = "hist,ihs,te,hte,interruptable"
[tool.ruff]
target-version = "py38"
output-format = "concise"
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"D", # pydocstyle
"E", # pycodestyle error
"F", # pyflakes
"I", # isort
"PLE", # pylint error
"PLW", # pylint warning
"PYI", # flakes8-pyi
"Q", # flake8-quotes
"SIM", # flake8-simplify
"TID", # tidy imports
"UP", # pyupgrade
"W", # pycodestyle warning
"YTT", # flake8-2020
]
ignore = [
"COM812", # Missing trailing comma
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"D205", # 1 blank line required between summary line and description
"E731", # Do not assign a lambda expression, use a def
"PLW2901", # Outer for loop variable overwritten by inner assignment target
"SIM105", # Use contextlib.suppress(FileNotFoundError) instead of try-except-pass
"SIM115", # Use context handler for opening files
]
pydocstyle.convention = "google"
isort.lines-after-imports = 2