Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add optional `prefer-typing-namedtuple` message (#8681)HEADmain | Jacob Walls | 2023-05-16 | 1 | -0/+21 |
| | | | Closes #8660 | ||||
* | Merge the empty-string extensions to 'implicit_booleaness_checker' | Pierre Sassoulas | 2023-05-02 | 1 | -78/+0 |
| | |||||
* | Merge the compare-to-zero extensions to 'implicit_booleaness_checker' | Pierre Sassoulas | 2023-05-02 | 1 | -95/+0 |
| | |||||
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 29 | -59/+59 |
| | |||||
* | Deprecate redundant type checking guard utils (#8433) | Jacob Walls | 2023-03-12 | 1 | -2/+2 |
| | |||||
* | Use UninferableBase instead of Uninferable | Daniel van Noord | 2023-03-07 | 2 | -5/+5 |
| | |||||
* | Changing flake8 to have max-line-length of 115 (#8362) | Ollie | 2023-03-02 | 2 | -2/+4 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fixing some too long lines (#8339) | Ollie | 2023-02-25 | 2 | -4/+8 |
| | | | | | * Changing flake8 max-line-length to 120 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix a false positive for ``redefined-variable-type`` when ``async`` methods ↵ | Mark Byrne | 2023-01-28 | 1 | -2/+2 |
| | | | | | are present. (#8123) Closes #8120 | ||||
* | Add `consider-refactoring-into-while-condition` checker (#8021) | yushao2 | 2023-01-27 | 1 | -0/+93 |
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Bugfix - extend ``magic-value-comparison`` support for parsing numerical ↵ | orSolocate | 2023-01-12 | 1 | -3/+34 |
| | | | | types and `\\` in rcfile configuration (#7880) | ||||
* | [style] Use default 'dummy-variable-rgx' and 'ignored-argument-names' (#8014) | Pierre Sassoulas | 2023-01-02 | 1 | -4/+1 |
| | | | | Refs #8013 Refs https://github.com/PyCQA/pylint/pull/7697#discussion_r1010869312 | ||||
* | Cover more lines (#7996) | Nick Drozd | 2022-12-28 | 1 | -6/+2 |
| | |||||
* | [pre-commit] Upgrade to black 23.1a1 with 2023's formatting (#7965) | Pierre Sassoulas | 2022-12-27 | 11 | -13/+2 |
| | |||||
* | update while-used doc (#7974) | Dani Alcala | 2022-12-24 | 1 | -1/+2 |
| | |||||
* | Fix ``missing-param-doc`` for escaped underscores (#7878) | Dani Alcala | 2022-12-04 | 1 | -1/+1 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Add ``redundant-union-assign-typehint`` checker for duplicated assign ↵ | orSolocate | 2022-11-30 | 1 | -1/+79 |
| | | | | | | typehints (#7745) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Enable dict-init-mutate extension (#7844) | Nick Drozd | 2022-11-25 | 1 | -2/+2 |
| | |||||
* | Add a new check `dict-init-mutate` (#7794) | Dani Alcala | 2022-11-23 | 1 | -0/+66 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix false negatives for-any-all (#7707) | Dani Alcala | 2022-11-17 | 1 | -7/+93 |
| | |||||
* | [compare-to-empty-string] More actionnable and understandable message (#7726) | Pierre Sassoulas | 2022-11-09 | 1 | -20/+26 |
| | | | | We have to use " as string delimiter because node as string have ' as string delimiter. | ||||
* | [compare to zero] Fix false positive with 'x is False' | Pierre Sassoulas | 2022-11-07 | 1 | -1/+5 |
| | |||||
* | [compare-to-zero] More actionnable and understandable message | Pierre Sassoulas | 2022-11-07 | 1 | -2/+15 |
| | | | | | | Originally done in order to normalize the use-implicit-booleaness check. This make the message more understandable and permit to make #6870 more reviewable. | ||||
* | [implicit_booleaness_checker] Add the confidence to related messages (#7721) | Pierre Sassoulas | 2022-11-06 | 2 | -2/+4 |
| | | | First step prior doing #6870 in order to make it more reviewable. | ||||
* | Add `bad-dunder-name` extension checker (#7642) | Dani Alcala | 2022-10-31 | 1 | -0/+77 |
| | | | | | With a 'good-dunder-name' option Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Take 'accept-no-raise-doc' option into account (#7581) | Brice Chardin | 2022-10-28 | 1 | -7/+5 |
| | | | | | | | | | Check the accept-no-raise-doc option when the docstring has matching sections (Fixes #7208) Defaut value for accept-no-raise-doc is True, but tests in `missing_doc_required_Sphinx.py` assume that this option is set to False. Co-authored-by: Brice Chardin <brice.chardin@ensma.fr> | ||||
* | Add default_enabled option to optional message dict (#7629) | Marc Mueller | 2022-10-25 | 1 | -2/+3 |
| | |||||
* | Add `magic-number` checker for comparison with literals (#7526) | orSolocate | 2022-10-22 | 1 | -0/+88 |
| | | | Co-authored-by: Or Bahari <or.bahari@samsung.com> | ||||
* | Move `consider-using-augmented-assign` to `CodeStyle` extension (#7628) | Marc Mueller | 2022-10-16 | 1 | -0/+23 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix `undefined-loop-variable` with `NoReturn` and `Never` (#7476) | Daniël van Noord | 2022-09-19 | 1 | -6/+1 |
| | | | | Co-authored-by: detachhead <detachhead@users.noreply.github.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Turn on ``mypy`` strict mode 🎉 (#7448) | Daniël van Noord | 2022-09-09 | 4 | -7/+5 |
| | | | | | | | | | | * Ignore subclasses of Any * Add ignores for imported code and remove casts * Add disables for uninferable return values * Turn on ``mypy`` strict mode | ||||
* | Finish typing across the codebase | Daniël van Noord | 2022-09-09 | 1 | -8/+7 |
| | |||||
* | Make ``missing-yield/raises-doc`` respect ``no-docstring-rgx`` option | Daniël van Noord | 2022-09-06 | 1 | -0/+10 |
| | |||||
* | Fix and refactors for ``docparams`` extension (#7398) | Daniël van Noord | 2022-09-04 | 1 | -13/+27 |
| | | | | | | | | | | | * Fix and refactors for ``docparams`` extension The ``re_only_desc`` regex did not match for white and characters after ``\n``, so some description-only lines weren't getting matched. In addition, lookaheads were added to ``re_param_line`` (i.e. make sure the type group is not followed by a new line (``\n``)). Lastly, named groups (ala Perl regular expressions) were added for slightly improved clarity. Co-authored-by: Hendry, Adam <adam.grant.hendry@gmail.com> | ||||
* | Make ``missing-return-doc`` respect the ``no-docstring-rgx`` option (#7410) | Daniël van Noord | 2022-09-04 | 1 | -0/+5 |
| | |||||
* | [doc param checker] Add confidences for DocParam checker's message | Pierre Sassoulas | 2022-07-21 | 1 | -6/+15 |
| | |||||
* | [refactor] Simplify '_add_raise_message' in the DocParam checker | Pierre Sassoulas | 2022-07-21 | 1 | -11/+9 |
| | |||||
* | Allow lists of default values in parameter documentation for ``Numpy`` (#7149) | Daniël van Noord | 2022-07-08 | 1 | -3/+14 |
| | |||||
* | [empty-comment] fix checker name in code and docs (#6996) | Ville Skyttä | 2022-07-05 | 1 | -1/+1 |
| | |||||
* | Don't report `import-private-name` for relative imports (#7079) | Ville Skyttä | 2022-06-28 | 1 | -0/+2 |
| | | | Closes #7078 | ||||
* | Fix differing param doc false positive (#6980) | Marco Pernigotti | 2022-06-23 | 1 | -0/+4 |
| | | | | | * Read `posonly` args and annotations on `check_arguments_in_docstring` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix typo in runtime-typing | Jacob Walls | 2022-06-23 | 1 | -1/+1 |
| | |||||
* | Clean up and add typing to the ``mccabe`` extension | Daniël van Noord | 2022-06-19 | 1 | -15/+49 |
| | |||||
* | [refactor] Normalize the typing of visitor functions (#6892) | Pierre Sassoulas | 2022-06-12 | 2 | -6/+7 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Add typing to extensions (#6893) | Daniël van Noord | 2022-06-09 | 5 | -25/+31 |
| | |||||
* | Add typing to several checkers | Daniël van Noord | 2022-06-06 | 5 | -16/+17 |
| | |||||
* | Fix a crash in the optional `private_import` extension | Jacob Walls | 2022-06-04 | 1 | -1/+2 |
| | |||||
* | Fix a crash in the ``docparams`` extension when raising the result of a ↵ | Jacob Walls | 2022-05-31 | 1 | -0/+2 |
| | | | | function (#6767) | ||||
* | Add typing to ``_check_docs_utils`` | Daniël van Noord | 2022-05-24 | 1 | -45/+45 |
| | |||||
* | Enable line-wrapping from ``pydocstringformatter`` | Daniël van Noord | 2022-05-23 | 2 | -6/+9 |
| |