Add E722 and E741 flake errors to the ignore list
Also fixed 'E704 multiple statements on one line (def)' in python_api
This commit is contained in:
parent
655ab0bf8b
commit
a3ec3df0c8
|
@ -217,7 +217,8 @@ class ApproxScalar(ApproxBase):
|
||||||
absolute tolerance or a relative tolerance, depending on what the user
|
absolute tolerance or a relative tolerance, depending on what the user
|
||||||
specified or which would be larger.
|
specified or which would be larger.
|
||||||
"""
|
"""
|
||||||
def set_default(x, default): return x if x is not None else default
|
def set_default(x, default):
|
||||||
|
return x if x is not None else default
|
||||||
|
|
||||||
# Figure out what the absolute tolerance should be. ``self.abs`` is
|
# Figure out what the absolute tolerance should be. ``self.abs`` is
|
||||||
# either None or a value specified by the user.
|
# either None or a value specified by the user.
|
||||||
|
|
Loading…
Reference in New Issue