forked from keras-team/autokeras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
41 lines (34 loc) · 898 Bytes
/
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
[metadata]
version = attr: autokeras.__version__
[isort]
known_first_party = autokeras,tests
default_section = THIRDPARTY
[tool:pytest]
filterwarnings =
error
ignore::DeprecationWarning
ignore::ImportWarning
ignore::RuntimeWarning
ignore::PendingDeprecationWarning
ignore::FutureWarning
ignore::numpy.VisibleDeprecationWarning
ignore::keras.utils.generic_utils.CustomMaskWarning
ignore::pytest.PytestUnraisableExceptionWarning
addopts=-v
--durations=10
--cov=autokeras
--cov-report html
--log-cli-level=CRITICAL
# Do not run tests in the build folder
norecursedirs= build
[coverage:report]
exclude_lines =
pragma: no cover
@abstract
raise NotImplementedError
omit = *test*
[flake8]
# imported but unused in __init__.py, that's ok.
per-file-ignores = **/__init__.py:F401
ignore = E203, W503
max-line-length = 85