-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
64 lines (56 loc) · 2.14 KB
/
setup.cfg
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
62
63
64
[options]
packages = find:
[options.packages.find]
include = xlearn*
[aliases]
test = pytest
[tool:pytest]
# disable-pytest-warnings should be removed once we rewrite tests
# using yield with parametrize
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS
testpaths = xlearn
addopts =
--doctest-modules
--disable-pytest-warnings
--color=yes
# Activate the plugin explicitly to ensure that the seed is reported
# correctly on the CI when running `pytest --pyargs xlearn` from the
# source folder.
-p xlearn.tests.random_seed
[mypy]
ignore_missing_imports = True
allow_redefinition = True
exclude=
xlearn/externals
[mypy-joblib.*]
follow_imports = skip
[check-manifest]
# ignore files missing in VCS
ignore =
xlearn/_loss/_loss.pyx
xlearn/linear_model/_sag_fast.pyx
xlearn/linear_model/_sgd_fast.pyx
xlearn/utils/_seq_dataset.pyx
xlearn/utils/_seq_dataset.pxd
xlearn/utils/_weight_vector.pyx
xlearn/utils/_weight_vector.pxd
xlearn/metrics/_dist_metrics.pyx
xlearn/metrics/_dist_metrics.pxd
xlearn/metrics/_pairwise_distances_reduction/_argkmin.pxd
xlearn/metrics/_pairwise_distances_reduction/_argkmin.pyx
xlearn/metrics/_pairwise_distances_reduction/_argkmin_classmode.pyx
xlearn/metrics/_pairwise_distances_reduction/_base.pxd
xlearn/metrics/_pairwise_distances_reduction/_base.pyx
xlearn/metrics/_pairwise_distances_reduction/_datasets_pair.pxd
xlearn/metrics/_pairwise_distances_reduction/_datasets_pair.pyx
xlearn/metrics/_pairwise_distances_reduction/_middle_term_computer.pxd
xlearn/metrics/_pairwise_distances_reduction/_middle_term_computer.pyx
xlearn/metrics/_pairwise_distances_reduction/_radius_neighbors.pxd
xlearn/metrics/_pairwise_distances_reduction/_radius_neighbors.pyx
xlearn/metrics/_pairwise_distances_reduction/_radius_neighbors_classmode.pyx
xlearn/neighbors/_ball_tree.pyx
xlearn/neighbors/_binary_tree.pxi
xlearn/neighbors/_kd_tree.pyx
[codespell]
skip = ./.git,./.mypy_cache,./xlearn/feature_extraction/_stop_words.py,./doc/_build,./doc/auto_examples,./doc/modules/generated
ignore-words = build_tools/codespell_ignore_words.txt