Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [pre-commit.ci] pre-commit autoupdate and simplify ruff config (#8694) | pre-commit-ci[bot] | 2023-05-16 | 1 | -1/+1 |
| | | | | | | | | | | * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.265 → v0.0.267](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.265...v0.0.267) - [github.com/pre-commit/mirrors-mypy: v1.2.0 → v1.3.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.2.0...v1.3.0) --------- Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Drop support for Python 3.7 (#8609) | Marc Mueller | 2023-04-24 | 3 | -20/+13 |
| | | | | | * Drop support for Python 3.7 * Update py-version + classifier * Update functional tests | ||||
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 7 | -14/+14 |
| | |||||
* | [deprecation] Make '_format-option-value' private and update TODOs (#8469) | Pierre Sassoulas | 2023-03-20 | 2 | -3/+1 |
| | |||||
* | Remove deprecated functions and classes (#8409) | Daniël van Noord | 2023-03-09 | 2 | -85/+1 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [FileState] Remove 'collect_block_lines' | Pierre Sassoulas | 2023-03-08 | 1 | -20/+0 |
| | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | [FileState] Make Pylinter.current_name and msg_store non nullable | Pierre Sassoulas | 2023-03-08 | 1 | -20/+2 |
| | |||||
* | Remove all old code related to ``optparse`` config parsing. (#8405) | Daniël van Noord | 2023-03-08 | 1 | -22/+15 |
| | | | | | * Remove all old config parsing code * Temporarily disable a test | ||||
* | Add ``invalid-name`` check for ``TypeAlias`` names (#7116) | Daniël van Noord | 2023-02-26 | 1 | -0/+7 |
| | |||||
* | Tighten design constraints (#8115) | Nick Drozd | 2023-01-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | * Lower max locals * Lower max statements * Lower max try statements * Lower max branches * Lower max args * Cut design constraints with default values | ||||
* | Bump mypy from 0.982 to 0.990 (#7769) | dependabot[bot] | 2022-11-14 | 1 | -1/+1 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | [refactor] Use typed NamedTuple for Confidence + PragmaRepresenter (#7718) | Pierre Sassoulas | 2022-11-05 | 1 | -2/+4 |
| | | | | | The init needs to analyse a string with the old way of doing things, which is not the best in term of performance. We also have the benefit of being able to add typing with the new way of doing it. | ||||
* | Use stacklevel=2 in warnings.warn calls to DeprecationWarning where makes ↵ | Yilei "Dolee" Yang | 2022-09-15 | 2 | -0/+6 |
| | | | | | | | | sense. (#7465) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add ``tomlkit`` and ``isort`` to ``mypy`` additional dependencies (#7450) | Daniël van Noord | 2022-09-10 | 1 | -3/+4 |
| | |||||
* | Turn on ``mypy`` strict mode 🎉 (#7448) | Daniël van Noord | 2022-09-09 | 2 | -3/+3 |
| | | | | | | | | | | * Ignore subclasses of Any * Add ignores for imported code and remove casts * Add disables for uninferable return values * Turn on ``mypy`` strict mode | ||||
* | Make ``disable-next`` only consider the succeeding line (#7411) | Daniël van Noord | 2022-09-05 | 1 | -15/+35 |
| | |||||
* | Remove redundant options documentation and improve formatting (#6665) | Daniël van Noord | 2022-06-06 | 1 | -5/+15 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [refactor] Create a function to get the main checker documentation | Pierre Sassoulas | 2022-05-24 | 1 | -15/+19 |
| | |||||
* | [doc] Remove trailing line feeds in generated RSTs | Pierre Sassoulas | 2022-05-24 | 1 | -1/+1 |
| | |||||
* | Some initial line wrapping of docstrings (#6672) | Daniël van Noord | 2022-05-23 | 3 | -5/+15 |
| | |||||
* | Write the exception message to stderr in `ASTWalker.walk` (#6598) | Yilei "Dolee" Yang | 2022-05-12 | 1 | -1/+5 |
| | |||||
* | Use main instead of master as main checker name (#6569) | Daniël van Noord | 2022-05-10 | 1 | -1/+1 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Make sure that --generate-rcfile generates a valid file (#6566) | Daniël van Noord | 2022-05-10 | 1 | -1/+6 |
| | |||||
* | Fix disabling of ``bad-option-value`` (#6556) | Daniël van Noord | 2022-05-09 | 1 | -12/+70 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Refactor ``_collect_block_lines`` (#6560) | Daniël van Noord | 2022-05-09 | 1 | -31/+40 |
| | |||||
* | Pass ``msg_store`` and ``node`` to ``FileState`` (#6558) | Daniël van Noord | 2022-05-09 | 1 | -2/+29 |
| | |||||
* | Refactor of ``config.__init__.py`` | Daniël van Noord | 2022-05-05 | 1 | -0/+3 |
| | |||||
* | Move AstCallback (#6502) | Marc Mueller | 2022-05-05 | 1 | -9/+16 |
| | |||||
* | Run development version of ``pydocstringformatter`` (#6469) | Daniël van Noord | 2022-04-28 | 3 | -4/+4 |
| | |||||
* | [spelling] Capitalize emacs where it makes sense | Pierre Sassoulas | 2022-04-26 | 1 | -1/+1 |
| | |||||
* | Remove explicit default values from overloads (#6447) | Daniël van Noord | 2022-04-25 | 1 | -6/+6 |
| | |||||
* | Add typing to methods of ``PyLinter`` | Daniël van Noord | 2022-04-18 | 1 | -2/+3 |
| | |||||
* | Add last typing to ``pylint/utils`` (#6369) | Daniël van Noord | 2022-04-18 | 3 | -12/+21 |
| | |||||
* | Add remaining typing to ``pylint/utils`` | Daniël van Noord | 2022-04-17 | 1 | -10/+33 |
| | |||||
* | Deprecate ``get_global_option`` | Daniël van Noord | 2022-04-15 | 1 | -23/+8 |
| | |||||
* | Add some manual typing changes (#6325) | Daniël van Noord | 2022-04-14 | 3 | -14/+7 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Add classifications to TODOs across codebase | Daniël van Noord | 2022-04-14 | 1 | -1/+1 |
| | |||||
* | Replace .namespace with .config (#6316) | Daniël van Noord | 2022-04-14 | 1 | -1/+1 |
| | |||||
* | Use ``python-typing-update`` on ``pylint/utils`` and ``message`` dirs | Daniël van Noord | 2022-04-14 | 5 | -71/+71 |
| | |||||
* | Remove last use of ``config`` in ``PyLinter`` | Daniël van Noord | 2022-04-12 | 1 | -0/+9 |
| | |||||
* | Deprecate most methods of ``_ArgumentsProvider`` | Daniël van Noord | 2022-04-12 | 1 | -14/+21 |
| | |||||
* | Deprecate ``generate_config`` (#6222) | Daniël van Noord | 2022-04-07 | 1 | -2/+16 |
| | |||||
* | Deprecate ``ignore-mixin-members`` + add ``ignored-checks-for-mixins`` | Daniël van Noord | 2022-04-04 | 1 | -1/+0 |
| | |||||
* | Use the ``argparse`` config handler in ``imports.py`` | Daniël van Noord | 2022-04-02 | 1 | -1/+2 |
| | |||||
* | Add typing to two utility functions (#6111) | Daniël van Noord | 2022-04-02 | 1 | -2/+3 |
| | |||||
* | Add basic typing to ``pylint/utils.py`` (#5977) | Daniël van Noord | 2022-03-25 | 1 | -10/+8 |
| | |||||
* | Create a ``TypeVar`` style for ``invalid-name`` (#5894) | Daniël van Noord | 2022-03-24 | 1 | -0/+7 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Add a pre-commit hook to check the copyright notice | Pierre Sassoulas | 2022-03-24 | 7 | -8/+8 |
| | | | | | Fix the existing file so they have a notice. No header for setup.py or examples or doc | ||||
* | Simplify hard to maintain copyright notice | Pierre Sassoulas | 2022-03-24 | 7 | -39/+7 |
| | | | | | | git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names. | ||||
* | Optimize handling of long lines for checkers like 'missing-final-newline' ↵ | Sergey B Kirpichev | 2022-03-16 | 1 | -11/+12 |
| | | | | | | | | | | | | | | (#5925) * Fix parsing of long lines when ``missing-final-newline`` is enabled * Adapt fa31b6b6 to be backward-compatible Fixes #5724 Also address comments from the PR PyCQA/pylint#5786 Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> |