forked from bigdata-ustc/EduKTM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
17 lines (13 loc) · 613 Bytes
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[pytest]
# For pytest usage, refer to https://hb4dsai.readthedocs.io/zh/latest/Architecture/Test.html
norecursedirs = docs *build* trash dev examples EduKTM/utils/torch/extlib scripts
# Deal with marker warnings
markers =
flake8: flake8
# Enable line length testing with maximum line length of 120
flake8-max-line-length = 120
# Ignore module level import not at top of file (E402)
# Others can be found in https://flake8.pycqa.org/en/latest/user/error-codes.html
flake8-ignore = E402 F401 F403
# --doctest-modules is used for unittest
addopts = --doctest-modules --cov --cov-report=term-missing --flake8