forked from nbQA-dev/nbQA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
31 lines (27 loc) · 863 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
[tool.interrogate]
fail-under = 100
ignore-init-method = true
[tool.isort]
profile = "black"
[tool.coverage.run]
source = ["nbqa"]
[tool.coverage.report]
exclude_lines = [
"pragma: nocover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
ignore_errors = true
omit = [
"tests/*",
]
[tool.pylint.messages_control]
disable = [
"C0330", # to work well with `black`
"R0801", # Unfortunately I do need some duplication, e.g. with imports
"W1510", # I need to run subprocess.run without check because it's OK if it fails
"E0401", # Unable to import '_pytest.capture' (this is just for typing anyway)
"E1136", # Value 'Optional' is unsubscriptable (bug? https://github.com/PyCQA/pylint/issues/3882)
"E0239", # Inheriting 'NamedTuple', which is not a class. (bug? https://github.com/PyCQA/pylint/issues/2570)
]