pbrod/numdifftools

View on GitHub

Showing 591 of 591 total issues

Missing function or method docstring
Open

    def arctanh(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 arg_c1p(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 'n'
Open

def derivative_exp(n):

Used when a function or method argument is not used.

Import outside toplevel (doctest)
Open

    import doctest
Severity: Info
Found in src/numdifftools/testing.py by pylint

Used when an import statement is used anywhere other than the module toplevel. Move this import to the top of the file.

Number of parameters was 2 in '_Limit._step_generator' and is now 3 in overriding 'Derivative._step_generator' method
Open

    def _step_generator(self, step, options):
Severity: Minor
Found in src/numdifftools/core.py by pylint

Used when a method has a different number of arguments than in the implemented interface or in an overridden method. Extra arguments with default values are ignored.

Missing function or method docstring
Open

def plot_errors(error_objects, problem_sizes, symbols):
Severity: Info
Found in src/numdifftools/run_benchmark.py by pylint

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

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

class EpsAlg(object):
Severity: Info
Found in src/numdifftools/extrapolation.py by pylint

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

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

class _Limit(object):
Severity: Info
Found in src/numdifftools/limits.py by pylint

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

Missing function or method docstring
Open

    def exp2(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 z2 doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern ('[a-z_][a-z0-9_]{2,30}$' pattern)
Open

        z1, z2 = 1 + 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 derivative_arccos(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_sin(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_tan(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_sinh(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_log10(n):

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

Unable to import 'pytest'
Open

    import pytest
Severity: Critical
Found in src/numdifftools/__init__.py by pylint

Used when pylint has been unable to import a module.

Formatting a regular string which could be a f-string
Open

        msg = ('The {} step derivative method does only work on a real valued analytic '
Severity: Info
Found in src/numdifftools/core.py by pylint

Used when we detect a string that is being formatted with format() or % which could potentially be a f-string. The use of f-strings is preferred. Requires Python 3.6 and py-version >= 3.6.

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

        t2 = timer()
Severity: Info
Found in src/numdifftools/profiletools.py by pylint

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

Final newline missing
Open

""".format(CURRENT_YEAR)
Severity: Info
Found in src/numdifftools/license.py by pylint

Used when the last line in a file is missing a newline.

Unable to import 'numpy'
Open

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

Used when pylint has been unable to import a module.

Severity
Category
Status
Source
Language