Mulugruntz/celery-pubsub

View on GitHub

Showing 89 of 91 total issues

Missing function or method docstring
Open

    def write_output(self, msg: Any, *args: Any) -> None:

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]:

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:

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:

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

Value 'list' is unsubscriptable
Open

) -> list[str]:
Severity: Critical
Found in .github/workflows/resolve_versions.py by pylint

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:

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]:
Severity: Critical
Found in .github/workflows/resolve_versions.py by pylint

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"

TODO n == celery ^ |

Variable name s doesn't conform to snake_case naming style
Open

    for c, o, n, s in matrix:

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]:
Severity: Critical
Found in .github/workflows/resolve_versions.py by pylint

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:

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)}",

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
Severity: Critical
Found in .github/workflows/resolve_versions.py by pylint

Used when pylint has been unable to import a module.

Missing module docstring
Open

import argparse

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]:
Severity: Critical
Found in .github/workflows/resolve_versions.py by pylint

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:

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():
Severity: Info
Found in setup.py by pylint

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],

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

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
Severity: Critical
Found in .github/workflows/resolve_versions.py by pylint

Used when a name cannot be found in a module.

Severity
Category
Status
Source
Language