pyro-ppl / pyro
Showing 1 of 1 files from the diff.

@@ -37,6 +37,9 @@
Loading
37 37
    Converts a dictionary to a namedtuple.
38 38
    """
39 39
    assert isinstance(dct, dict)
40 +
    dct = {key if key.isidentifier() and not key.startswith("_") else
41 +
           "key_{}".format(i): value
42 +
           for i, (key, value) in enumerate(sorted(dct.items()))}
40 43
    cache = dict_to_namedtuple._cache
41 44
    keys = tuple(sorted(dct.keys()))
42 45
    if keys not in cache:
Files Coverage
pyro 93.93%
Project Totals (202 files) 93.93%
5470.5
3.5=.5
TRAVIS_OS_NAME=linux
5470.7
3.5=.5
TRAVIS_OS_NAME=linux
5470.6
3.5=.5
TRAVIS_OS_NAME=linux
5470.8
3.5=.5
TRAVIS_OS_NAME=linux
1
ignore:
2
  - "pyro/docutil.py"
3
  - "pyro/logger.py"
4

5
coverage:
6
  range: 60..95
7
  round: nearest
8
  precision: 2
9

10
comment: false
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