Erotemic / mkinit
Showing 1 of 2 files from the diff.
Newly tracked file
mkinit/formatting.py changed.
Other files ignored by Codecov

@@ -382,6 +382,7 @@
Loading
382 382
            r"""
383 383
            def lazy_import(module_name, submodules, submod_attrs):
384 384
                import importlib
385 +
                import os
385 386
                name_to_submod = {
386 387
                    func: mod for mod, funcs in submod_attrs.items()
387 388
                    for func in funcs
@@ -406,6 +407,14 @@
Loading
406 407
                                module_name=module_name, name=name))
407 408
                    globals()[name] = attr
408 409
                    return attr
410 +
411 +
                if os.environ.get('EAGER_IMPORT', ''):
412 +
                    for name in name_to_submod.values():
413 +
                        __getattr__(name)
414 +
415 +
                    for attrs in submod_attrs.values():
416 +
                        for attr in attrs:
417 +
                            __getattr__(attr)
409 418
                return __getattr__
410 419
            """
411 420
        ).rstrip("\n")
Files Coverage
mkinit 83.10%
Project Totals (8 files) 83.10%
1
codecov:
2
  require_ci_to_pass: no
3

4
coverage:
5
  precision: 2
6
  round: down
7
  range: "50...80"
8

9
  status:
10
    project: # settings affecting project coverage
11
      enabled: yes
12
      target: auto # auto % coverage target
13
      threshold: 20%  # allow for 20% reduction of coverage without failing
14

15
    # do not run coverage on patch nor changes
16
    patch:
17
      default:
18
        enabled: false
19
    changes: no
20

21
parsers:
22
  gcov:
23
    branch_detection:
24
      conditional: yes
25
      loop: yes
26
      method: no
27
      macro: no
28

29
comment:
30
  layout: "reach,diff,flags,files,footer"
31
  behavior: default
32
  require_changes: no
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading