forked from online-ml/river
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (55 loc) · 1.18 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
58
59
60
61
[build-system]
requires = ["cython", "numpy", "setuptools", "wheel", "setuptools-rust"]
[tool.pytest.ini_options]
addopts = [
"--doctest-modules",
"--doctest-glob=README.md",
"--ignore=benchmarks",
"--ignore=docs/scripts",
"--verbose",
"-ra",
"-m not datasets and not slow",
"--color=yes",
]
doctest_optionflags = "NORMALIZE_WHITESPACE NUMBER ELLIPSIS"
norecursedirs = [
"build",
"docs",
"node_modules",
".eggs",
"scikit-multiflow",
"site",
"benchmarks",
]
markers = [
"datasets: tests that pertain to the datasets module",
"slow: tests that take a long time to run",
]
[tool.black]
line-length = 100
target-version = ['py310']
[tool.ruff]
select = ["E", "F", "I", "UP"] # https://beta.ruff.rs/docs/rules/
line-length = 100
target-version = 'py310'
ignore = ["E501"]
[tool.ruff.isort]
required-imports = ["from __future__ import annotations"]
[tool.mypy]
files = "river"
[[tool.mypy.overrides]]
module = [
"river.*",
"mmh3.*",
"numpy.*",
"sklearn.*",
"pytest.*",
"pandas.*",
"scipy.*",
"graphviz.*",
"vaex.*",
"torch.*",
"sqlalchemy.*",
"requests.*"
]
ignore_missing_imports = true