pylint
pylint copied to clipboard
It's not just a linter that annoys you!
Originally reported by: **Anonymous** --- Hi, sometimes I have a script in a directory which generates an error like: ``` 1: Invalid module name "pre-commit" (C0103) ``` I'd like to...
### Steps to reproduce 1. Create an empty Python file called `run-tests.py` 2. At the top of the file, add `# pylint: disable=invalid-name` so that pylint won't complain about the...
### Bug description The dunder method \_\_new\_\_ may return object not necessary corresponding to the first argument. Pylint could infer actual variable type after construction if astroid looked deeper into...
Pylint fails with relative imports within a package. Having a package b in directory a with three files: `a/b/__init__.py` from .one import ONE from .two import TWO `a/b/one.py` ONE =...
## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :bug: Bug fix | ## Description When parsing comma-separated lists of regular expressions in...
## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :sparkles: New feature | | ✓ | :scroll: Docs | ## Description Refs [#XXXX](https://github.com/PyCQA/pylint/pull/6735#discussion_r884226339)
## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :hammer: Refactoring | ## Description Follow up to #6973
## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :sparkles: New feature | ## Description Add a spelling functional tests: Currently this fail...
## Type of Changes | | Type | | --- | ---------------------- | | ✓ | :sparkles: New feature | ## Description Adds new refactoring message `hidden-parent-method`. When the behavior...
TODO: - [ ] Fix any outstanding `TODO: 2.15:` comments - [ ] Integrate latest astroid patch - [ ] Revert #7244 Opening this now to track discussion on our...