Showing 591 of 591 total issues
Useless option value for '--disable', 'hex-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
Used when a value for an option that is now deleted from pylint is encountered.
Unknown option value for '--disable', expected a valid pylint message and got 'old-octal-literal' Open
[MASTER]
- Read upRead up
- Exclude checks
Used when an unknown value is encountered for an option.
Unknown option value for '--disable', expected a valid pylint message and got 'long-suffix' Open
[MASTER]
- Read upRead up
- Exclude checks
Used when an unknown value is encountered for an option.
Missing function or method docstring Open
def update_license():
- Read upRead up
- Exclude checks
Used when a function or method has no docstring. Some special methods like init do not require a docstring.
Consider using '{derivative
: 'Jacobian', extra_parameter
: '', extra_note
: '', ... }' instead of a call to 'dict'. Open
__doc__ = _cmn_doc % dict(
- Read upRead up
- Exclude checks
Emitted when using dict() to create a dictionary instead of a literal '{ ... }'. The literal is faster as it avoids an additional function call.
Too few public methods (1/2) Open
class Taylor(object):
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Unrecognized option found: consider-iterating-dictionary, optimize-ast, files-output, bad-functions, function-name-hint, variable-name-hint, const-name-hint, attr-name-hint, argument-name-hint, class-attribute-name-hint, inlinevar-name-hint, class-name-hint, module-name-hint, method-name-hint, no-space-check Open
[MASTER]
- Read upRead up
- Exclude checks
Used when we detect an option that we do not recognize.
Useless option value for '--disable', 'raising-string' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
Used when a value for an option that is now deleted from pylint is encountered.
Useless option value for '--disable', 'raw_input-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
Used when a value for an option that is now deleted from pylint is encountered.
Useless option value for '--disable', 'coerce-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
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:
- Read upRead up
- Exclude checks
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 H
doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern ('[a-z_][a-z0-9_]{2,30}$' pattern) Open
H = z.data[2, ...] * 2
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Useless option value for '--disable', 'backtick' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
Used when a value for an option that is now deleted from pylint is encountered.
Useless option value for '--disable', 'basestring-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
Used when a value for an option that is now deleted from pylint is encountered.
Useless option value for '--disable', 'intern-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
Used when a value for an option that is now deleted from pylint is encountered.
Useless option value for '--disable', 'getslice-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
Used when a value for an option that is now deleted from pylint is encountered.
Useless option value for '--disable', 'old-raise-syntax' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
Used when a value for an option that is now deleted from pylint is encountered.
Formatting a regular string which could be a f-string Open
print("Version: {}".format(version))
- 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
.
Useless option value for '--disable', 'no-absolute-import' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. Open
[MASTER]
- Read upRead up
- Exclude checks
Used when a value for an option that is now deleted from pylint is encountered.
Catching too general exception Exception Open
except Exception as error: # subprocess.CalledProcessError:
- Read upRead up
- Exclude checks
If you use a naked except Exception:
clause, you might end up catching exceptions other than the ones you expect to catch. This can hide bugs or make it harder to debug programs when unrelated errors are hidden.