Showing 591 of 591 total issues
Missing function or method docstring Open
def arctanh(self):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
Used when a function or method argument is not used.
Import outside toplevel (doctest) Open
import doctest
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
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 '
- Read upRead up
- Exclude checks
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()
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Final newline missing Open
""".format(CURRENT_YEAR)
- Read upRead up
- Exclude checks
Used when the last line in a file is missing a newline.
Unable to import 'numpy' Open
import numpy as np
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.