pylint
pylint copied to clipboard
It's not just a linter that annoys you!
### Bug description This issue is just one more Pylint regression (we introduced again the same bug). Previously reported: - https://github.com/PyCQA/pylint/issues/3934 - https://github.com/PyCQA/pylint/issues/3773 - https://github.com/PyCQA/pylint/issues/2270 - https://github.com/PyCQA/pylint/issues/1085 - https://github.com/PyCQA/pylint/issues/1085 It...
### Current problem I thought it would be nice to have a checker that detects magic numbers (aka. unnamed constants) in `Pylint`. As in all standard languages, `-1`, `0` and...
### Question Hi! First: Thanks for supporting and maintaining such a great ecosystem! My question: I'm trying to make a simple checker around some custom formatting in log strings. I...
## Type of Changes | | Type | | --- | ---------------------- | | â | :bug: Bug fix | ## Description As per #7264, this PR will make the...
### Bug description Here are the contents of `__main__.py`: ``` #!/usr/bin/python """ The program's entry point """ import sys import i2c if __name__ == '__main__': if "-f" in sys.argv: pic...
### Current problem Comparing two different types using the `is` operator is always `False`. For example for this code: ``` A = 5 STR1 = â5â if A is STR1:...
## Type of Changes | | Type | | --- | ---------------------- | | â | :sparkles: New feature | ## Description Search for pyproject.toml in parent directories. Closes #3289
## Type of Changes | | Type | | --- | ---------------------- | | â | :bug: Bug fix | ## Description For some reason, commit 83d544b to cpython added...
- [x] Write a good description on what the PR does. - [x] Add an entry to the change log describing the change in `doc/whatsnew/2/2.15/index.rst` (or ``doc/whatsnew/2/2.14/full.rst`` if the change...
- [x] Add yourself to CONTRIBUTORS if you are a new contributor. - [x] Write a good description on what the PR does. ## Type of Changes | | Type...