-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
57 lines (53 loc) · 1.13 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
[tool.pytest.ini_options]
addopts = [
"--doctest-modules",
"--doctest-glob=README.md",
"--verbose",
"-ra",
"-m not datasets and not slow",
"--color=yes",
"--cov=.",
"--cov-report=xml:reports/coverage/coverage.xml",
"--cov-report=html:reports/coverage/report",
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"NUMBER",
"ELLIPSIS",
"IGNORE_EXCEPTION_DETAIL",
]
norecursedirs = ["examples", ".*"]
[tool.ruff]
lint.ignore = ["E501"]
lint.select = ["E", "F", "I", "UP"] # https://beta.ruff.rs/docs/rules/
[[tool.mypy.overrides]]
module = [
"river.*",
"mmh3.*",
"numpy.*",
"sklearn.*",
"pytest.*",
"pandas.*",
"scipy.*",
"graphviz.*",
"vaex.*",
"torch.*",
"sqlalchemy.*",
"requests.*",
]
ignore_missing_imports = true
[tool.coverage.run]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]