Changes between Version 39 and Version 40 of ModelConvInst


Ignore:
Timestamp:
Jan 28, 2016 8:18:28 PM (9 years ago)
Author:
pkienzle
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ModelConvInst

    v39 v40  
    211211}}} 
    212212 
    213 We are not aiming for zero lint just yet, only keeping it to a minimum.  For now, don't worry about invalid-name or missing-docstring on Iq/Iqxy. If you really want a variable name Rg for example because Rg is the right name for the model parameter, then ignore the lint errors.  We will have delinting sessions at the code camp, where we can decide on standards for model files, parameter names, etc. 
    214  
    215 You can tell pylint to ignore things.  For example, to align you parameters in blocks: 
     213We are not aiming for zero lint just yet, only keeping it to a minimum.  For now, don't worry too much about invalid-name. If you really want a variable name Rg for example because Rg is the right name for the model parameter then ignore the lint errors.  Also, ignore missing-docstring for standard model functions Iq, Iqxy, etc.  
     214 
     215We will have delinting sessions at the code camp, where we can decide on standards for model files, parameter names, etc. 
     216 
     217For now, you can tell pylint to ignore things.  For example, to align you parameters in blocks: 
    216218 
    217219{{{#!python 
     
    231233}}} 
    232234 
     235Don't put in too many pylint statements, though, since they make the code ugly. 
    233236 
    234237'''CHECK THE DOCS'''