-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (35 loc) · 988 Bytes
/
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
[tool.pytest.ini_options]
minversion = "6.2"
addopts = "-ra"
testpaths = ["tests"]
[tool.coverage.report]
exclude_lines = [
"raise NotImplementedError",
"raise NotImplementedError()",
"pragma: nocover",
"if __name__ == .__main__.:",
]
[tool.black]
line-length = 120
include = '\.pyi?$'
[tool.mypy]
files= ["src/**/*.py", "test/*.py"]
ignore_missing_imports = true
[tool.isort]
profile = 'black'
line_length = 120
known_third_party = ["numpy", "pytest", "wandb", "torch"]
known_first_party = ["nn_core"]
known_local_folder = "fs_grl"
[tool.pydocstyle]
convention = 'google'
# ignore all missing docs errors
add-ignore = ['D100', 'D101', 'D102', 'D103', 'D104', 'D105', 'D106', 'D107']
[tool.bandit]
skips = ["B101", "B301", "B403"]
[tool.setuptools_scm]
write_to = "src/fs_grl/_version.py"
write_to_template = '__version__ = "{version}"'
[build-system]
requires = ["setuptools==59.5", "wheel", "setuptools_scm[toml]>=6.3.1"]
build-backend = "setuptools.build_meta"