Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add and expose ``py.typed`` (#8402) | Daniël van Noord | 2023-03-08 | 1 | -0/+0 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | [deprecation] Remove ``get_message_definitions`` from ``BaseChecker`` (#8401) | Pierre Sassoulas | 2023-03-08 | 1 | -14/+0 | |
| | ||||||
* | [deprecation] epylint removal for pylint 3.0.0 (#8400) | Pierre Sassoulas | 2023-03-08 | 2 | -242/+0 | |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | Upgrade tbump and the documentation for 3.0.0 dev branch | Pierre Sassoulas | 2023-03-08 | 1 | -1/+1 | |
| | ||||||
* | Bump pylint to 2.17.0, update changelog (#8395) | Pierre Sassoulas | 2023-03-07 | 3 | -3/+3 | |
| | ||||||
* | Use UninferableBase instead of Uninferable | Daniel van Noord | 2023-03-07 | 17 | -81/+87 | |
| | ||||||
* | Upgrade to astroid 2.15.0 (#8387) | Pierre Sassoulas | 2023-03-07 | 4 | -9/+9 | |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | Accept values of the form ``<class name>.<attribute name>`` for the ↵ | Mark Byrne | 2023-03-03 | 1 | -6/+17 | |
| | | | | | | | | `exclude-protected` list (#8364) Closes #7343 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | [pre-commit] Transition from flake8/autoflake to ruff (#8372) | Pierre Sassoulas | 2023-03-02 | 1 | -3/+4 | |
| | | | | | ruff is faster and support pyproject.toml. flake8-typing-import is not implemented but it checks for things in python version < 3.7.2 that we do not support. | |||||
* | [spelling] Ignore spelling in type/mypy type ignore comments (#8370) | Pierre Sassoulas | 2023-03-02 | 1 | -19/+4 | |
| | | | | | | | enchant does not understand class name well enough so it creates false positives, and mypy type ignore comments with additional text are a syntax error anyway, so raising a spelling mistakes for it is not really important. | |||||
* | Changing flake8 to have max-line-length of 115 (#8362) | Ollie | 2023-03-02 | 10 | -12/+27 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Refactor the `_check_protected_attribute_access` method to reduce ↵ | Mark Byrne | 2023-03-01 | 1 | -67/+69 | |
| | | | | indentation. (#8366) | |||||
* | Support globbing pattern for input specification (#8312) | Alexey Pelykh | 2023-03-01 | 1 | -2/+12 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | [spelling checker] Better help message and code organization (#8338) | Pierre Sassoulas | 2023-02-27 | 1 | -17/+35 | |
| | | | | Following a failed attempt to add functional tests for spelling checker in #6137 | |||||
* | Prevent emitting ``invalid-name`` on 'global' redefinition (#8337) | Mark Byrne | 2023-02-27 | 1 | -5/+0 | |
| | | | | | Closes #8307 | |||||
* | Add ``invalid-name`` check for ``TypeAlias`` names (#7116) | Daniël van Noord | 2023-02-26 | 5 | -22/+61 | |
| | ||||||
* | Add new checker `bad-chained-comparison` (#7990) | Zen Lee | 2023-02-26 | 1 | -0/+61 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Add new check "implicit-flag-alias" (#8345) | James Addison | 2023-02-26 | 1 | -8/+58 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Fixing some too long lines (#8339) | Ollie | 2023-02-25 | 10 | -28/+51 | |
| | | | | | * Changing flake8 max-line-length to 120 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | [doc] Add an example for 'non-ascii-file-name' (#8340) | Pierre Sassoulas | 2023-02-25 | 1 | -13/+5 | |
| | | | | | And move links to related.rst Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | |||||
* | Only count obviously non-terminating while-loops as return-ended (#8292) | Nick Drozd | 2023-02-23 | 1 | -3/+6 | |
| | ||||||
* | "Message emitted" improvements caused issues | Stavros Ntentos | 2023-02-22 | 1 | -1/+1 | |
| | | | | | | | | | | Wrapping "Message emitted" in monospaced formatting, causes `W1507` (`pylint/checkers/stdlib.py`) to fail on a stray space. Fix that - as it seems to be the only outlier. (Might've been nice for a more formal check in the first place 🙏). Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com> | |||||
* | Support globbing patterns for source-roots (#8281) | Alexey Pelykh | 2023-02-21 | 4 | -15/+17 | |
| | | | Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> | |||||
* | Don't clear the FunctionalTestReporter.messages after each file | Daniel van Noord | 2023-02-20 | 1 | -3/+0 | |
| | ||||||
* | Fix invalid type false positive (#8206) | Nick Drozd | 2023-02-14 | 2 | -1/+15 | |
| | ||||||
* | [typing] Use __future__ annotations where possible (#8264) | Pierre Sassoulas | 2023-02-12 | 1 | -1/+1 | |
| | ||||||
* | Fix FP for used-before-assignment with assignment expressions in containers ↵ | Jacob Walls | 2023-02-11 | 1 | -18/+19 | |
| | | | | (#8253) | |||||
* | Add ``--version`` option to pyreverse (#8257) | Andreas Finkler | 2023-02-10 | 1 | -0/+6 | |
| | ||||||
* | Fix `used-before-assignment` false positive for walrus operator in ↵ | Zen Lee | 2023-02-10 | 1 | -0/+5 | |
| | | | | dictionary (#8176) | |||||
* | Add `--color-palette` option to `pyreverse` (#8223) | Andreas Finkler | 2023-02-09 | 3 | -21/+37 | |
| | ||||||
* | Support Implicit Namespace Packages (PEP 420) (#8153) | Alexey Pelykh | 2023-02-09 | 10 | -32/+152 | |
| | | | Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> | |||||
* | Fix `nested-min-max` output msg for sequences (#8234) | Dani Alcala | 2023-02-08 | 1 | -1/+22 | |
| | ||||||
* | Add import-based submodule detection for preferred-modules (#8186) | Dave Bunten | 2023-02-08 | 1 | -2/+12 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Minor refactor to 'is_defined' (#8243) | Zen Lee | 2023-02-08 | 1 | -7/+5 | |
| | ||||||
* | Fix `used-before-assignment` false positive for TYPE_CHECKING if/elif/else ↵ | Zen Lee | 2023-02-07 | 2 | -18/+61 | |
| | | | | usage (#8071) | |||||
* | Fix no-name-in-module when variable is same as module name (#8169) | Dani Alcala | 2023-02-07 | 1 | -1/+1 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Fix crash when an attribute node was used inside an unary op (#8209) | Pierre Sassoulas | 2023-02-07 | 1 | -2/+5 | |
| | | | | | Closes #8207 | |||||
* | [pre-commit.ci] pre-commit autoupdate (#8208) | pre-commit-ci[bot] | 2023-02-07 | 1 | -1/+0 | |
| | | | | | | | | | | updates: - [github.com/PyCQA/autoflake: v2.0.0 → v2.0.1](https://github.com/PyCQA/autoflake/compare/v2.0.0...v2.0.1) - [github.com/charliermarsh/ruff-pre-commit: v0.0.241 → v0.0.243](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.241...v0.0.243) - [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0) * Remove false positive fixed in ruff 0.243 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | [doc] Use the real URL address of pylint's read the doc project | Pierre Sassoulas | 2023-02-06 | 1 | -2/+2 | |
| | ||||||
* | [ruff] Disable a Star-arg unpacking in a deprecated function | Pierre Sassoulas | 2023-02-06 | 1 | -1/+1 | |
| | ||||||
* | [ruff] B904 Raise exceptions with 'raise ... from err' | Pierre Sassoulas | 2023-02-06 | 1 | -1/+1 | |
| | ||||||
* | [ruff] Autofix 'not x in iterator' => 'x not in iterator' | Pierre Sassoulas | 2023-02-06 | 1 | -1/+1 | |
| | ||||||
* | [ruff] Fix E741 Ambiguous variable name: 'l' | Pierre Sassoulas | 2023-02-06 | 1 | -1/+1 | |
| | ||||||
* | [primer --prepare clone] Create a function for each action | Pierre Sassoulas | 2023-02-06 | 1 | -23/+25 | |
| | ||||||
* | [primer --prepare clone] Better error message in case of crash | Pierre Sassoulas | 2023-02-06 | 1 | -3/+12 | |
| | ||||||
* | Fix a false negative for 'missing-parentheses-for-call-in-test' | Pierre Sassoulas | 2023-02-05 | 1 | -13/+10 | |
| | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | Fix grammatical error in explanation of `global-statement (W0603)` (#8108) | R. N. West | 2023-02-02 | 1 | -3/+3 | |
| | ||||||
* | [crash] Fix crashes on python interpreter < 3.9 (#8163) | Pierre Sassoulas | 2023-02-02 | 1 | -1/+1 | |
| | | | | | Closes #8161 Co-authored-by: Marc Schmitzer <marc@solute.de> | |||||
* | Update docs for `global-variable-not-assigned` (#8151) | Dani Alcala | 2023-02-01 | 1 | -6/+17 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Bump pylint to 2.17.0-dev0, update changelog | Marc Mueller | 2023-02-01 | 1 | -1/+1 | |
| |