pylint
pylint copied to clipboard
It's not just a linter that annoys you!
### Bug description When running `pylint --recursive=y` on a directory that contains both a package and a sub-directory, pylint correctly locates and lints all py files, both those in the...
### Current problem I'm trying to adopt pylint (or update to a new version, or enable more checks), but I'm getting >10000 errors in my codebase! If pylint supported baseline...
## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :bug: Bug fix | | ✓ | :sparkles: New feature | | ✓ |...
Raw sting literals may not be easily understood based on the brief description. This description is much more verbose (maybe too verbose) but should help the novice python programmer understand...
### Bug description ```python This triggers warnings no-else-return and inconsistent-return-statements: def fuuu(thing): """Demo function""" if thing == "some": result = handle_the_something_case(...) return result elif thing == "boring": happen = "boring"...
### Bug description ```python In latest docs (3.2.0-dev-0) at time of writing there was no documentation for the --colorized option: https://pylint.readthedocs.io/en/latest/pyreverse.html I raise this issue because we've had a PR...
### Bug description ```python Failure in test suite with astroid 3.1.0, pipeline output here: https://gitlab.alpinelinux.org/alpine/aports/-/jobs/1329826 ``` ### Configuration _No response_ ### Command used ```shell .testenv/bin/python3 -m pytest --benchmark-disable tests ```...
### Bug description When parsing the following file: ```python import janitor from metaflow import FlowSpec, step class LinearFlow(FlowSpec): @step def start(self): self.my_var = 'hello world' self.next(self.a) @step def a(self): print('the...
### Current problem I'm trying to find a solution to specify an alert which is specific to a given library and version of that library. An example is the pylint-ml...
### Bug description Hi! I have weird behavior in my code. Here is a code example: ```python from sqlalchemy import ForeignKey from sqlalchemy.orm import Mapped, mapped_column, relationship from sqlalchemy.sql.sqltypes import...