pbrod/numdifftools

View on GitHub

Showing 591 of 591 total issues

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

def directionaldiff(f, x0, vec, **options):
Severity: Info
Found in src/numdifftools/nd_algopy.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 __call__(self, z0=0):
Severity: Info
Found in src/numdifftools/nd_algopy.py by pylint

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

Useless option value for '--disable', 'range-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
Open

[MASTER]
Severity: Info
Found in .pylintrc by pylint

Used when a value for an option that is now deleted from pylint is encountered.

Using open without explicitly specifying an encoding
Open

        with open(filename, "r") as fid:
Severity: Minor
Found in build_package.py by pylint

It is better to specify an encoding when opening documents. Using the system default implicitly can create problems on other operating systems. See https://peps.python.org/pep-0597/

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

        x0 = np.asarray(x, dtype=float)
Severity: Info
Found in src/numdifftools/nd_algopy.py by pylint

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

Consider using '{derivative: 'Hessian diagonal', extra_parameter: '', returns: 'n Returnsn -------n hessdiag : ndarrayn Hessian diagonal array of partial second order derivatives.n ', ... }' instead of a call to 'dict'.
Open

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

Useless option value for '--disable', 'parameter-unpacking' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
Open

[MASTER]
Severity: Info
Found in .pylintrc by pylint

Used when a value for an option that is now deleted from pylint is encountered.

Useless option value for '--disable', 'dict-view-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
Open

[MASTER]
Severity: Info
Found in .pylintrc by pylint

Used when a value for an option that is now deleted from pylint is encountered.

Useless option value for '--disable', 'buffer-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
Open

[MASTER]
Severity: Info
Found in .pylintrc by pylint

Used when a value for an option that is now deleted from pylint is encountered.

Useless option value for '--disable', 'filter-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
Open

[MASTER]
Severity: Info
Found in .pylintrc by pylint

Used when a value for an option that is now deleted from pylint is encountered.

Consider using '{backward: 'reverse'}' instead of a call to 'dict'.
Open

        name = '_' + dict(backward='reverse').get(self.method, self.method)
Severity: Info
Found in src/numdifftools/nd_algopy.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.

Consider using '{derivative: 'n-th derivative', extra_parameter: '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/nd_algopy.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.

Useless option value for '--disable', 'metaclass-assignment' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
Open

[MASTER]
Severity: Info
Found in .pylintrc by pylint

Used when a value for an option that is now deleted from pylint is encountered.

Useless option value for '--disable', 'execfile-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
Open

[MASTER]
Severity: Info
Found in .pylintrc by pylint

Used when a value for an option that is now deleted from pylint is encountered.

Using open without explicitly specifying an encoding
Open

    with open(filename, "w") as fid:
Severity: Minor
Found in build_package.py by pylint

It is better to specify an encoding when opening documents. Using the system default implicitly can create problems on other operating systems. See https://peps.python.org/pep-0597/

No value for argument 'version' in function call
Open

    build_main()
Severity: Critical
Found in build_package.py by pylint

Used when a function call passes too few arguments.

Unable to import 'scipy'
Open

from scipy import special
Severity: Critical
Found in src/numdifftools/nd_algopy.py by pylint

Used when pylint has been unable to import a module.

Unable to import 'scipy'
Open

from scipy import special
Severity: Critical
Found in src/numdifftools/finite_difference.py by pylint

Used when pylint has been unable to import a module.

Useless option value for '--disable', 'import-star-module-level' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
Open

[MASTER]
Severity: Info
Found in .pylintrc by pylint

Used when a value for an option that is now deleted from pylint is encountered.

Useless option value for '--disable', 'old-division' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
Open

[MASTER]
Severity: Info
Found in .pylintrc by pylint

Used when a value for an option that is now deleted from pylint is encountered.

Severity
Category
Status
Source
Language