-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.coveragerc
28 lines (25 loc) · 868 Bytes
/
.coveragerc
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
# .coveragerc to control coverage.py
[run]
omit =
# omit all test files
tests/*
# omit algorithms, which will be tested separately
fl_sim/algorithms/*
# omit several data processing files which are not used currently
fl_sim/data_processing/_noniid_partition.py
fl_sim/data_processing/leaf_sent140.py
fl_sim/data_processing/cifar.py
fl_sim/data_processing/libsvm_datasets.py
# visualization panel requires notebook environment
fl_sim/utils/viz.py
# fl_sim/utils/torch_compat.py
# compressors not used currently
fl_sim/compressors/*
[report]
# Regexes for lines to exclude from consideration
exclude_also =
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
# Don't complain about abstract methods, they aren't run:
@(abc\.)?abstractmethod