Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 1 | -2/+2 |
| | |||||
* | [pre-commit] Upgrade to black 23.1a1 with 2023's formatting (#7965) | Pierre Sassoulas | 2022-12-27 | 1 | -1/+1 |
| | |||||
* | Fix disabling of ``fixme`` (#7144) | Daniël van Noord | 2022-07-07 | 1 | -36/+6 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add typing to various checkers (#6695) | Daniël van Noord | 2022-05-25 | 1 | -1/+1 |
| | |||||
* | Remove some words from custom dictionary and update spelling | Daniël van Noord | 2022-04-26 | 1 | -1/+1 |
| | |||||
* | Subclass ``BaseRawFileChecker`` and ``BaseTokenChecker`` | Daniël van Noord | 2022-04-19 | 1 | -7/+3 |
| | |||||
* | Add typing to BaseChecker.process_token (#6273) | Pierre Sassoulas | 2022-04-19 | 1 | -1/+1 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Fix a failure to respect inline disables for `fixme` (#6362) | Jacob Walls | 2022-04-18 | 1 | -2/+2 |
| | | | | This occurred when invoking pylint with `enable=fixme`. | ||||
* | Replace .namespace with .config (#6316) | Daniël van Noord | 2022-04-14 | 1 | -7/+5 |
| | |||||
* | Use ``python-typing-update`` on ``pylint/checkers`` directory | Daniël van Noord | 2022-04-14 | 1 | -4/+6 |
| | |||||
* | Remove the ``future_option_parsing`` keyword (#6253) | Daniël van Noord | 2022-04-11 | 1 | -3/+0 |
| | |||||
* | Use ``argparse`` config handler in ``misc.py`` (#6122) | Daniël van Noord | 2022-04-02 | 1 | -5/+11 |
| | |||||
* | Add a pre-commit hook to check the copyright notice | Pierre Sassoulas | 2022-03-24 | 1 | -2/+1 |
| | | | | | 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 | 1 | -23/+1 |
| | | | | | | 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. | ||||
* | Upgrade ``pydocstringformatter`` to ``0.5.0`` (#5910) | Daniël van Noord | 2022-03-13 | 1 | -1/+3 |
| | |||||
* | Fix matching note tags with a non-word char last (#5859) | dbrookman | 2022-03-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | Using "\b" at the end of these patterns will only match note tags that end in an alphanumeric character, immediately followed by a non-alphanumeric character, or the end of the string. This is due to "\b" being defined as a boundary between a word character ("\w") and a non-word character ("\W"), or the end of the string. This leads to deviations like "???" being ignored when specified. Swapping "\b" for a positive lookahead that targets a whitespace, a colon, or the end of a string accounts for this. Closes #5840. | ||||
* | Update ``pydocstringformatter`` to 0.4.0 (#5787) | Daniël van Noord | 2022-02-10 | 1 | -4/+4 |
| | |||||
* | [pre-commit.ci] pre-commit autoupdate (#5758) | pre-commit-ci[bot] | 2022-02-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 21.12b0 → 22.1.0](https://github.com/psf/black/compare/21.12b0...22.1.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add typing and uniformize the checker registering in Pylinter (#5558) | Pierre Sassoulas | 2021-12-27 | 1 | -3/+5 |
| | | | | | Remove verbose docstring in code, keep them in example and doc Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Merge ``MessagesHandlerMixIn`` into ``PyLinter`` (#5136) | Daniël van Noord | 2021-10-17 | 1 | -4/+10 |
| | | | * Merge ``MessagesHandlerMixIn`` into ``PyLinter`` | ||||
* | Bump pylint to 2.11.0, update changelogv2.11.0 | Pierre Sassoulas | 2021-09-16 | 1 | -0/+1 |
| | |||||
* | Add typing to most reference of ``stream`` | Daniël van Noord | 2021-09-13 | 1 | -2/+9 |
| | |||||
* | Type ``process_module`` and update argument names | Daniël van Noord | 2021-09-13 | 1 | -5/+7 |
| | |||||
* | Add ``Consider-using-f-string`` checker (#4796) | Daniël van Noord | 2021-08-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | * 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> | ||||
* | Bump pylint to 2.10.0, update changelogv2.10.0 | Pierre Sassoulas | 2021-08-20 | 1 | -0/+1 |
| | |||||
* | Change some if/assign blocks to if-expressions | Nick Drozd | 2021-08-20 | 1 | -4/+1 |
| | |||||
* | Fix copyright links (#4647) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | * Fix link in license header * Update link to astroid bump_changelog | ||||
* | Prepare for 2.8.0 releasepylint-2.8.0 | Pierre Sassoulas | 2021-04-24 | 1 | -0/+1 |
| | |||||
* | Rename copying to license and upgrade the setup.cfg (#4338) | Pierre Sassoulas | 2021-04-11 | 1 | -1/+1 |
| | |||||
* | Replace map | Marc Mueller | 2021-04-03 | 1 | -1/+1 |
| | |||||
* | better docstring in message handler mixin | Pierre Sassoulas | 2021-03-31 | 1 | -2/+0 |
| | |||||
* | Prepare 2.7.3 release (#4261)pylint-2.7.32.7 | Pierre Sassoulas | 2021-03-29 | 1 | -0/+1 |
| | |||||
* | Fix column index of FIXME warnings (#4246) | Konstantina Saketou | 2021-03-25 | 1 | -2/+1 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix false negative 'use-symbolic-message-instead' and optimize it | Pierre Sassoulas | 2021-03-17 | 1 | -5/+4 |
| | | | | | | use-symbolic-message-instead was not working for message with multiple new names and the function to get the symbol was suboptimal. Also made the solution copy pastable. | ||||
* | Apply copyrite --contribution-threshold | Pierre Sassoulas | 2021-02-21 | 1 | -2/+3 |
| | |||||
* | Move from % string formatting syntax to f-string or .format() | Pierre Sassoulas | 2021-02-21 | 1 | -1/+1 |
| | |||||
* | Remove the # coding, since PEP3120 the default is UTF8 | Pierre Sassoulas | 2021-02-21 | 1 | -1/+0 |
| | |||||
* | Move from format() to f-string where it makes sense | Pierre Sassoulas | 2021-02-16 | 1 | -14/+4 |
| | | | | As we do not maintain python 3.5 it permit to simplify some code | ||||
* | Converting the strings in the values list to upper case serves no purpose as ↵ | wtracy | 2020-10-02 | 1 | -1/+0 |
| | | | | the list is simply tested with set() and then discarded. | ||||
* | Merge branch 'master' into bug_pylint_3468 | hippo91 | 2020-09-03 | 1 | -1/+1 |
|\ | |||||
| * | Sets up copyright | hippo91 | 2020-08-20 | 1 | -1/+1 |
| | | |||||
* | | Corrects some inconsistent-return-statements occurences | hippo91 | 2020-08-20 | 1 | -0/+1 |
|/ | |||||
* | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -2/+8 |
| | |||||
* | Refactor - Move the content of lint.py in its own package | Pierre Sassoulas | 2020-04-26 | 1 | -1/+1 |
| | | | | Also move unittest_lint in test/lint. | ||||
* | pyupgrade: automated removal of python2 constructs | Anthony Sottile | 2020-03-24 | 1 | -1/+0 |
| | | | | | | | | | | | | | using configuration: ```yaml - repo: https://github.com/asottile/pyupgrade rev: v2.1.0 hooks: - id: pyupgrade args: [--py3-plus, --keep-percent-format] exclude: ^tests/(extensions/data/|functional/|input/|regrtest_data/) ``` | ||||
* | Add notes-rgx option for fixme checker (#3394) | Benny | 2020-02-13 | 1 | -3/+16 |
| | | | | | | | This commit adds a new `notes-rgx` which is used by the "fixme" check for more granular control over the what fixme messages to emit. Co-authored-by: Claudiu Popa <pcmanticore@gmail.com> | ||||
* | Add support for disabling line-too-long for multilines strings | hippo91 | 2019-11-19 | 1 | -4/+14 |
| | | | | | | | | | This commit adds support for disabling `line-too-long` messages for multilines strings such as docstrings. When a pylint disable pragma is present at the end of the docstring, it is taken in account for the entire docstring. Close #2957 | ||||
* | Removed Python 2 specific checks | Claudiu Popa | 2019-09-17 | 1 | -12/+3 |
| | | | | | Certain checks such as relative-import, invalid-encoded-data and missing-super-argument were removed as they no longer make sense on Python 3. | ||||
* | Fix a bunch of linting errors from the codebase | Claudiu Popa | 2019-05-22 | 1 | -3/+1 |
| | |||||
* | Pass the line number for bad-inline-option instead of passing the actual line | Claudiu Popa | 2019-05-19 | 1 | -1/+1 |
| | | | | Close #2904 |