File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # .coveragerc
2+ [run]
3+ source = PyOptik
4+ branch = True
5+ relative_files = True
6+ parallel = True
7+ omit =
8+ **/__init__.py
9+ PyOptik/_version.py
10+ PyOptik/directories.py
11+ PyOptik/**/__main__.py
12+
13+ [report]
14+ skip_covered = True
15+ show_missing = True
16+ precision = 2
17+
18+ [html]
19+ directory = htmlcov
20+
21+ [xml]
22+ output = coverage.xml
Original file line number Diff line number Diff line change 1717! README.rst
1818! notebook.ipynb
1919! CMakeLists.txt
20+ ! pytest.ini
21+ ! .coveragerc
2022
2123# But ignore docs/build inside docs and code
2224docs /build /
Original file line number Diff line number Diff line change @@ -63,35 +63,3 @@ dev = [
6363 " flake8 ==7.1.1" ,
6464]
6565
66-
67- [tool .pytest .ini_options ]
68- python_functions = " test*"
69- minversion = " 6.0"
70- xfail_strict = true
71- log_cli_level = " INFO"
72- testpaths = [
73- " tests/test_sellmeier.py" ,
74- " tests/test_tabulated.py" ,
75- " tests/test_usual_materials.py" ,
76- " tests/test_utils.py" ,
77- " tests/test_group_properties.py" ,
78- ]
79- addopts = [
80- ' -v' ,
81- ' -rA' ,
82- ' -rw' ,
83- ' -Werror' ,
84- ' --cov=PyOptik' ,
85- ' --cov-report=html' ,
86- " --cov-report=term"
87- ]
88-
89- [tool .coverage .run ]
90- source = [' PyOptik' ]
91- omit = [
92- ' */__init__.py' ,
93- ' */_version.py' ,
94- ' */directories.py' ,
95- ]
96- branch = true
97- relative_files = true
Original file line number Diff line number Diff line change 1+ # pytest.ini
2+ [pytest]
3+ minversion = 6.0
4+ xfail_strict = true
5+ log_cli_level = INFO
6+
7+ addopts =
8+ -vv
9+ -rA
10+ -rw
11+ --cov
12+ --cov-report =html
13+ --cov-report =term
14+ --cov-config =.coveragerc
15+ --capture =tee-sys
16+
17+ testpaths = tests
18+
19+ python_files = *.py
20+ python_classes = Test_*
21+ python_functions = test_*
You can’t perform that action at this time.
0 commit comments