-
-
Notifications
You must be signed in to change notification settings - Fork 132
/
pyproject.toml
54 lines (50 loc) · 1.09 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
# Sanely format your code with no heated arguments! :)
[tool.black]
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| env
| venv
)/
'''
include = '\.pyi?$'
line-length = 79
target-version = ['py38']
# A tool for automatically formatting imports correctly!
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 79 # match our custom config above
multi_line_output = 3
src_paths = ["graphein", "test"]
float_to_top = true
use_parentheses = true
# Can reinstate later: Measures docstring coverage,
# super good for guaranteeing that there's docs!
[tool.interrogate]
exclude = ["setup.py", "docs", "build", "nbconvert_config.py"]
fail-under = 77
ignore-init-method = true
ignore-init-module = true
ignore-module = false
ignore-private = false
ignore-semiprivate = false
quiet = false
verbose = 2
[tool.ruff.lint]
select = ["NPY201"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --cov graphein --cov-report xml --cov-report=term-missing"
testpaths = [
"tests",
]