Showing 89 of 91 total issues
Missing function or method docstring Open
Open
def get_compatible_versions(
- 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
Open
def install_requires():
- 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
Open
and all(cv.startswith("4") for cv in compatible_versions)
- Read upRead up
- Exclude checks
TODO
and all(cv.startswith(4
) for cv in compatible_versions)
^ |
Consider using sys.exit() Open
Open
exit(1)
- Read upRead up
- Exclude checks
Instead of using exit() or quit(), consider using the sys.exit().
Wrong hanging indentation before block (add 4 spaces). Open
Open
python_version: Optional[str],
- Read upRead up
- Exclude checks
TODO python_version: Optional[str], ^ |
Missing function or method docstring Open
Open
def parse_req_file(filename):
- 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 'pip._internal.commands.index' Open
Open
from pip._internal.commands.index import IndexCommand
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Unused variable 'pypy_ver' Open
Open
impl, py_ver, *pypy_ver = python_code.split("-")
- Read upRead up
- Exclude checks
Used when a variable is defined but not used.
Missing module docstring Open
Open
import codecs
- Read upRead up
- Exclude checks
Used when a module has no docstring.Empty modules do not require a docstring.