pbrod/numdifftools

View on GitHub

Showing 591 of 591 total issues

Missing function or method docstring
Open

def compute_hessians(hessian_funs, problem_sizes):
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.

Missing function or method docstring
Open

def derivative_square(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_log2(n):

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/core.py by pylint

Used when pylint has been unable to import a module.

Missing function or method docstring
Open

def loglimits(data, border=0.05):
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.

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

    adaptiv_txt = '_adaptive_{0:d}_{1!s}_{2:d}'.format(epsilon.num_steps,
Severity: Info
Found in src/numdifftools/run_benchmark.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.

Missing module docstring
Open

from datetime import datetime
Severity: Info
Found in src/numdifftools/license.py by pylint

Used when a module has no docstring. Empty modules do not require a docstring.

Too many local variables (18/15)
Open

def dea3(v_0, v_1, v_2, symmetric=False):
Severity: Info
Found in src/numdifftools/extrapolation.py by pylint

Used when a function or method has too many local variables.

Missing function or method docstring
Open

    def arccos(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 darccos(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 ddarccos(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_arctan(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_exp2(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_inv(n):

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

Missing module docstring
Open

from __future__ import absolute_import
Severity: Info
Found in src/numdifftools/__init__.py by pylint

Used when a module has no docstring. Empty modules do not require a docstring.

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/core.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 plot_runtimes(run_time_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.

Consider using '{method: method, order: order}' instead of a call to 'dict'.
Open

        options = dict(method=method, order=order)
Severity: Info
Found in src/numdifftools/run_benchmark.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.

Unable to import 'scipy'
Open

from scipy import linalg
Severity: Critical
Found in src/numdifftools/extrapolation.py by pylint

Used when pylint has been unable to import a module.

Too many arguments (7/5)
Open

    def __init__(self, base_step=None, step_ratio=4.0, num_steps=None, step_nom=None,
Severity: Info
Found in src/numdifftools/limits.py by pylint

Used when a function or method takes too many arguments.

Severity
Category
Status
Source
Language