Showing 89 of 91 total issues
Missing function or method docstring Open
def write_output(self, msg: Any, *args: Any) -> None:
- 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 filter_versions(versions: list[str], version_specifier: str) -> list[str]:
- 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 process_matrix(args: Namespace) -> None:
- 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 c
doesn't conform to snake_case naming style Open
for c, o, n, s in matrix:
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Value 'list' is unsubscriptable Open
) -> list[str]:
- Read upRead up
- Exclude checks
Emitted when a subscripted value doesn't support subscription (i.e. doesn't define getitem method or class_getitem for a class).
Missing function or method docstring Open
def contains_version(version: str, version_specifier: str) -> bool:
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Value 'list' is unsubscriptable Open
) -> list[str]:
- Read upRead up
- Exclude checks
Emitted when a subscripted value doesn't support subscription (i.e. doesn't define getitem method or class_getitem for a class).
Wrong hanging indentation before block (add 4 spaces). Open
n == "celery"
- Read upRead up
- Exclude checks
TODO
n == celery
^ |
Variable name s
doesn't conform to snake_case naming style Open
for c, o, n, s in matrix:
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Value 'list' is unsubscriptable Open
def filter_versions(versions: list[str], version_specifier: str) -> list[str]:
- Read upRead up
- Exclude checks
Emitted when a subscripted value doesn't support subscription (i.e. doesn't define getitem method or class_getitem for a class).
Missing function or method docstring Open
def main() -> None:
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Line too long (103/100) Open
f"Found the following {args.package_name} versions: {', '.join(v for v in filtered_versions)}",
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Unable to import 'pip._internal.commands.index' Open
import pip._internal.commands.index
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Missing module docstring Open
import argparse
- Read upRead up
- Exclude checks
Used when a module has no docstring.Empty modules do not require a docstring.
Value 'tuple' is unsubscriptable Open
def get_python_version_and_implementation(python_code: str) -> tuple[str, str]:
- Read upRead up
- Exclude checks
Emitted when a subscripted value doesn't support subscription (i.e. doesn't define getitem method or class_getitem for a class).
Variable name n
doesn't conform to snake_case naming style Open
for c, o, n, s in matrix:
- 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 long_description():
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Wrong hanging indentation before block (add 4 spaces). Open
implementation: Optional[str],
- Read upRead up
- Exclude checks
TODO implementation: Optional[str], ^ |
Wrong hanging indentation before block (add 4 spaces). Open
# This is because inspect.getfullargspec has been removed in Python 3.11
- Read upRead up
- Exclude checks
TODO # This is because inspect.getfullargspec has been removed in Python 3.11 ^ |
No name 'index' in module 'pip._internal.commands' Open
import pip._internal.commands.index
- Read upRead up
- Exclude checks
Used when a name cannot be found in a module.