pbrod/numdifftools

View on GitHub

Showing 591 of 591 total issues

Too many arguments (6/5)
Open

def taylor(fun, z0=0, n=1, r=0.0059, num_extrap=3, step_ratio=1.6, **kwds):
Severity: Info
Found in src/numdifftools/fornberg.py by pylint

Used when a function or method takes too many arguments.

Missing function or method docstring
Open

    def conjugate(self):
Severity: Info
Found in src/numdifftools/multicomplex.py by pylint

Used when a function or method has no docstring. Some special methods like init do not require a docstring.

Class 'DifferenceFunctions' inherits from object, can be safely removed from bases in python3
Open

class DifferenceFunctions(object):

Used when a class inherit from object, which under python3 is implicit, hence can be safely removed from bases.

Class 'HessianDifferenceFunctions' inherits from object, can be safely removed from bases in python3
Open

class HessianDifferenceFunctions(object):

Used when a class inherit from object, which under python3 is implicit, hence can be safely removed from bases.

Unable to import 'numpy'
Open

import numpy as np
Severity: Critical
Found in src/numdifftools/profile_numdifftools.py by pylint

Used when pylint has been unable to import a module.

Argument name m2 doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern ('[a-z_][a-z0-9_]{2,30}$' pattern)
Open

def _check_fft(m1, m2, check_degenerate=True):
Severity: Info
Found in src/numdifftools/fornberg.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Argument name z0 doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern ('[a-z_][a-z0-9_]{2,30}$' pattern)
Open

    def _check_convergence(self, i, z0, r, m, bn):
Severity: Info
Found in src/numdifftools/fornberg.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Consider using '{forward: 1, backward: 1}' instead of a call to 'dict'.
Open

        return dict(forward=1, backward=1).get(self.method, 2)
Severity: Info
Found in src/numdifftools/nd_statsmodels.py by pylint

Emitted when using dict() to create a dictionary instead of a literal '{ ... }'. The literal is faster as it avoids an additional function call.

TODO: Check correctness
Open

        # TODO: Check correctness
Severity: Minor
Found in src/numdifftools/multicomplex.py by pylint

Used when a warning note as FIXME or XXX is detected.

Missing function or method docstring
Open

def c_abs(z):
Severity: Info
Found in src/numdifftools/multicomplex.py by pylint

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 size(self):
Severity: Info
Found in src/numdifftools/multicomplex.py by pylint

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 imag2(self):
Severity: Info
Found in src/numdifftools/multicomplex.py by pylint

Used when a function or method has no docstring. Some special methods like init do not require a docstring.

Variable name z1 doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern ('[a-z_][a-z0-9_]{2,30}$' pattern)
Open

        z1, z2 = self.z1, self.z2
Severity: Info
Found in src/numdifftools/multicomplex.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Missing function or method docstring
Open

    def tan(self):
Severity: Info
Found in src/numdifftools/multicomplex.py by pylint

Used when a function or method has no docstring. Some special methods like init do not require a docstring.

Too few public methods (1/2)
Open

class JacobianDifferenceFunctions(object):

Used when class has too few public methods, so be sure it's really worth it.

Consider using '{central: 2, central2: 2, complex: complex_step, multicomplex: 2, ... }' instead of a call to 'dict'.
Open

        return dict(central=2,

Emitted when using dict() to create a dictionary instead of a literal '{ ... }'. The literal is faster as it avoids an additional function call.

Variable name mm doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern ('[a-z_][a-z0-9_]{2,30}$' pattern)
Open

    mm = n // 2 + m
Severity: Info
Found in src/numdifftools/fornberg.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Unable to import 'numpy'
Open

import numpy as np
Severity: Critical
Found in src/numdifftools/nd_statsmodels.py by pylint

Used when pylint has been unable to import a module.

Missing function or method docstring
Open

    def order(self):
Severity: Info
Found in src/numdifftools/nd_statsmodels.py by pylint

Used when a function or method has no docstring. Some special methods like init do not require a docstring.

Unable to import 'numpy'
Open

import numpy as np
Severity: Critical
Found in src/numdifftools/multicomplex.py by pylint

Used when pylint has been unable to import a module.

Severity
Category
Status
Source
Language