Showing 591 of 591 total issues
Class 'Richardson' inherits from object, can be safely removed from bases in python3 Open
class Richardson(object):
- Read upRead up
- Exclude checks
Used when a class inherit from object, which under python3 is implicit, hence can be safely removed from bases.
Too many arguments (6/5) Open
def __init__(self, fun, step=None, method='above', order=4, full_output=False, **options):
- Read upRead up
- Exclude checks
Used when a function or method takes too many arguments.
Missing function or method docstring Open
def sech(self):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring. Some special methods like init do not require a docstring.
Missing function or method docstring Open
def derivative_arcsinh(n):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring. Some special methods like init do not require a docstring.
Consider using Python 3 style super() without arguments Open
super(Derivative, self).__init__(step=step, **options)
- Read upRead up
- Exclude checks
Emitted when calling the super() builtin with the current class and instance. On Python 3 these arguments are the default and they can be omitted.
Missing function or method docstring Open
def main(problem_sizes=(4, 8, 16, 32, 64, 96)):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring. Some special methods like init do not require a docstring.
Missing function or method docstring Open
def derivative_sqrt(n):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring. Some special methods like init do not require a docstring.
Variable name sx
doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern ('[a-z_][a-z0-9_]{2,30}$' pattern) Open
sx = sqrt(x)
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Consider using Python 3 style super() without arguments Open
return super(Jacobian, self).__call__(np.atleast_1d(x), *args, **kwds)
- Read upRead up
- Exclude checks
Emitted when calling the super() builtin with the current class and instance. On Python 3 these arguments are the default and they can be omitted.
Consider using '{derivative
: 'Gradient', extra_parameter
: n order : int, optionaln defines the order of the error term in the Taylor approximation used.n For 'central' and 'complex' methods, it must be an even number.
, ... }' instead of a call to 'dict'. Open
__doc__ = _CMN_DOC % dict(
- Read upRead up
- Exclude checks
Emitted when using dict() to create a dictionary instead of a literal '{ ... }'. The literal is faster as it avoids an additional function call.
Too many local variables (18/15) Open
def _compute_benchmark(functions, problem_sizes):
- Read upRead up
- Exclude checks
Used when a function or method has too many local variables.
Unable to import 'numpy' Open
import numpy as np
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Consider using Python 3 style super() without arguments Open
super(Limit, self).__init__(step=step, **options)
- Read upRead up
- Exclude checks
Emitted when calling the super() builtin with the current class and instance. On Python 3 these arguments are the default and they can be omitted.
Variable name z2
doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern ('[a-z_][a-z0-9_]{2,30}$' pattern) Open
z2 = np.sinh(self.z1) * np.sin(self.z2)
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Missing function or method docstring Open
def sqrt(self):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring. Some special methods like init do not require a docstring.
Missing function or method docstring Open
def log10(self):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring. Some special methods like init do not require a docstring.
Missing function or method docstring Open
def dddarcsin(x):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring. Some special methods like init do not require a docstring.
Missing function or method docstring Open
def derivative_tanh(n):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring. Some special methods like init do not require a docstring.
Unused log2 imported from numpy Open
from numpy import (cos, sin, tan, cosh, sinh, tanh,
- Read upRead up
- Exclude checks
Used when an imported module or variable is not used.
Too many arguments (7/5) Open
def _plot(plot, problem_sizes, objects, symbols, ylabel='', loc=2, logx=False):
- Read upRead up
- Exclude checks
Used when a function or method takes too many arguments.