pbrod/numdifftools

View on GitHub

Showing 591 of 591 total issues

Missing function or method docstring
Open

def derivative_arcsin(n):

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_arccosh(n):

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 sinh(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 get_function(fun_name, n=1):

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 = np.sinh(self.z1) * np.cos(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...).

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.cosh(self.z1) * np.sin(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...).

Consider using '{derivative: 'n-th derivative', 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.n n : int, optionaln Order of the derivative., ... }' instead of a call to 'dict'.
Open

    __doc__ = _CMN_DOC % dict(
Severity: Info
Found in src/numdifftools/core.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.

Missing function or method docstring
Open

    def expm1(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 csch(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.

Unused argument 'follow_all_methods'
Open

    def do_profile(follow=(), follow_all_methods=False):
Severity: Minor
Found in src/numdifftools/profiletools.py by pylint

Used when a function or method argument is not used.

Trailing whitespace
Open

                p25, median, p75 = np.nanpercentile(der, [25,50, 75], axis=0) 
Severity: Info
Found in src/numdifftools/limits.py by pylint

Used when there is whitespace between the end of a line and the newline.

Missing function or method docstring
Open

    def log(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 log1p(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 darcsin(x):

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

Unable to import 'scipy.special'
Open

import scipy.special as special
Severity: Critical
Found in src/numdifftools/example_functions.py by pylint

Used when pylint has been unable to import a module.

Missing function or method docstring
Open

def derivative_log(n):

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 ddarcsin(x):

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_cos(n):

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

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

            order = dict(backward=1, forward=1).get(method, 2)
Severity: Info
Found in src/numdifftools/core.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.

Missing function or method docstring
Open

def derivative_exp(n):

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

Severity
Category
Status
Source
Language