pylint
pylint copied to clipboard
It's not just a linter that annoys you!
## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :sparkles: New feature | ## Description This pr is based on changes by [DanielNoord](https://github.com/DanielNoord)...
I'm not sure if this would be within the scope of `pylint` features, but a [similar question](https://github.com/PyCQA/pylint/issues/1061) was looked at previously, so I may as well mention the problem. The...
### Bug description ```python """Module docstring""" from fastcore import script print(script) ``` ### Configuration _No response_ ### Command used ``` python3.12 -m venv .venv --clear .venv/bin/python -m pip install pylint...
### Bug description When parsing the following file: ```python from a import b ( b.builder('name') .add('name', value='value') .add('name', value='value') .add('name', value='value') .add('name', value='value') .add('name', value='value') .add('name', value='value') .add('name', value='value') .add('name',...
### Bug description ```python class Foo: def __init__(self): ... class Bar(Foo): def __init__(self): ... ``` ### Configuration _No response_ ### Command used ```shell pylint foo.pyi ``` ### Pylint output ```python...
### Bug description ```python class TestClient: def simulate_get(self, path: str) -> Result: ... ``` ### Configuration _No response_ ### Command used ```shell pylint typings/falcon/testing/client.pyi ``` ### Pylint output ```python *************...
### Bug description I get `E0633: Attempting to unpack a non-sequence (unpacking-non-sequence)` when using stub files for C extension. Reproduced here: `unpack.py` ```py import module1 def unpack(): _, b =...
### Bug description When trying to lint a file that contain the DeclarativeBase of the recent SQLAlchemy 2.0 (beta), it fails with an `astroid.exceptions.ParentMissingError: Parent not found on .` error....
### Bug description Not sure if tis is a bug. So I ask first. I can run pylint on my shell with `--output-format=colorized` and get the expected nice and fancy...
### Current problem GitHub actions/scripts can output [a special log syntax](https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-a-warning-message) to create warning/error messages directly in the GitHub UI. This is awesome, since you will see the warnings/errors in...