File: .coveragerc

package info (click to toggle)
python-ase 3.21.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,936 kB
  • sloc: python: 122,428; xml: 946; makefile: 111; javascript: 47
file content (60 lines) | stat: -rw-r--r-- 1,770 bytes parent folder | download
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
[run]
source = ase

# We would write the 'omit' section in the run section.
# But pytest-cov forgets that when generating report.
# So we write those paths in the report section instead.

[report]
precision = 2
omit =
    # We don't include the unittests since that's "cheating":
    ./*

    # Tools for releases and web page are not production code:
    ../utils/sphinx.py
    ../utils/build_web_page.py
    ../utils/newrelease.py

    # The "optimizer tests" are used to generate part of GPAW's web page
    # but we don't really consider it production code.
    # Since we don't plan to test it as such, we exclude it from the listing.
    ../optimize/test/*.py

    # TODO: Test external calculators and add to listing.
    ../calculators/gaussian.py
    ../calculators/crystal.py
    ../calculators/demonnano.py
    ../calculators/qchem.py
    ../calculators/aims.py
    ../calculators/psi4.py
    ../calculators/gamess_us.py
    ../calculators/orca.py
    ../calculators/fleur.py
    ../calculators/amber.py
    ../calculators/turbomole.py
    ../calculators/onetep.py
    ../calculators/dmol.py
    ../calculators/mopac.py
    ../calculators/acemolecule.py
    ../calculators/castep.py
    ../calculators/gulp.py
    ../calculators/demon/demon.py
    ../calculators/demon/demon_io.py
    ../calculators/vasp/create_input.py
    ../calculators/vasp/vasp_data.py
    ../calculators/vasp/setups.py
    ../calculators/vasp/interactive.py
    ../calculators/vasp/vasp2.py
    ../calculators/vasp/vasp.py
    ../calculators/vasp/vasp_auxiliary.py

    # TODO: Improve IO format coverage and add include in coverage stats
    ../io/fortranfile.py
    ../io/turbomole.py
    ../io/acemolecule.py
    ../io/vtkxml.py
    ../io/castep.py

[html]
directory = coverage-html