| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
* Change tests for ``filepath`` changes
* Add pylint/typing.py and FileItem NamedTuple
* Use NamedTuple more efficiently
* Fix errors and tests after adding warning
* Add deprecation for future API change in Checker
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
|
|
|
| |
* Add mypy_extensions to requirement for ``NoReturn``
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add ``consider-using-f-string`` checker
This adds a checker for normal strings which are formatted
with ``.format()`` or '%'.
The message is a convention to nudge users towards using f-strings.
This closes #3592
* Update pylint code to use f-strings
After adding `consider-using-f-strings` the codebase showed numerous
cases of formatting which could be f-strings.
This commit changes most of these to become f-strings, or adds ignores.
* Apply suggestions from code review
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
|
| |
Closes #4865
|
| |
|
|
|
| |
* Move stray functional tests
* Clean up some while loops
* Add extension check against use of while loops
|
| |
|
|
|
|
|
|
|
| |
* Permit to lint to the end in case of crash on a file
And add pre-filled issue template so it's easier to open an issue in pylinthome
* Print full traceback when a crash occur
See discussion here: https://github.com/PyCQA/pylint/pull/4810\#issuecomment-897735720
|
| |
|
|
| |
* Fix link in license header
* Update link to astroid bump_changelog
|
| | |
|
| |
|
|
| |
We never used it anywhere else than lint so it belong in lint.
|
| |
|
|
| |
See https://github.com/PyCQA/pylint/pull/3516#discussion_r415567865
|
| |
|