Changeset 7ae2b7f in sasmodels for sasmodels/compare.py


Ignore:
Timestamp:
Apr 11, 2016 12:48:41 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
fa5fd8d
Parents:
f619de7
Message:

still more linting; ignore numpy types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    r6d6508e r7ae2b7f  
    3434import traceback 
    3535 
    36 import numpy as np 
     36import numpy as np  # type: ignore 
    3737 
    3838from . import core 
     
    710710    try: 
    711711        model_info = core.load_model_info(name) 
    712     except ImportError, exc: 
     712    except ImportError as exc: 
    713713        print(str(exc)) 
    714714        print("Could not find model; use one of:\n    " + models) 
     
    860860    Explore the model using the Bumps GUI. 
    861861    """ 
    862     import wx 
    863     from bumps.names import FitProblem 
    864     from bumps.gui.app_frame import AppFrame 
     862    import wx  # type: ignore 
     863    from bumps.names import FitProblem  # type: ignore 
     864    from bumps.gui.app_frame import AppFrame  # type: ignore 
    865865 
    866866    problem = FitProblem(Explore(opts)) 
     
    883883    """ 
    884884    def __init__(self, opts): 
    885         from bumps.cli import config_matplotlib 
     885        from bumps.cli import config_matplotlib  # type: ignore 
    886886        from . import bumps_model 
    887887        config_matplotlib() 
Note: See TracChangeset for help on using the changeset viewer.