@@ -22,7 +22,7 @@
Loading
22 22
# Enthought module imports
23 23
from __future__ import absolute_import
24 24
from traits.api import (
25 -
    HasTraits, String, DictStrFloat, Property, TraitType, TraitError,
25 +
    HasTraits, String, Dict, Str, Float, Property, TraitType, TraitError,
26 26
    cached_property
27 27
)
28 28
@@ -50,7 +50,7 @@
Loading
50 50
51 51
    # a dictionary holding dimension names and quantities
52 52
    # this should be frozen if you want to hash - don't change it
53 -
    dimension_dict = DictStrFloat
53 +
    dimension_dict = Dict(Str, Float)
54 54
55 55
    # the quantity type as an expression in powers of base dimensions
56 56
    expansion = Property(String, depends_on='dimension_dict')

@@ -23,7 +23,7 @@
Loading
23 23
24 24
from __future__ import absolute_import
25 25
from traits.etsconfig.api import ETSConfig
26 -
from traits.api import TraitHandler, Instance, true, Trait, Str
26 +
from traits.api import TraitHandler, Instance, Bool, Trait, Str
27 27
from traitsui.editor_factory import EditorFactory
28 28
from scimath.units.unit_manager import unit_manager
29 29
from scimath.units.quantity import Quantity
@@ -106,7 +106,7 @@
Loading
106 106
    family_name = Str
107 107
    display_units = Instance(unit)
108 108
109 -
    auto_set = true
109 +
    auto_set = Bool(True)
110 110
111 111
    def init(self, *args):
112 112
        pass
Files Coverage
scimath 60.90%
Project Totals (75 files) 60.90%
47.2
TRAVIS_OS_NAME=linux
47.1
TRAVIS_OS_NAME=linux
47.5
TRAVIS_OS_NAME=osx
47.3
TRAVIS_OS_NAME=linux
47.6
TRAVIS_OS_NAME=osx
47.4
TRAVIS_OS_NAME=osx

No yaml found.

Create your codecov.yml to customize your Codecov experience

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