Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modified all occurences of "a f-string" to "an f-string" | Elazrod56 | 2023-04-20 | 1 | -2/+2 |
| | |||||
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 1 | -2/+2 |
| | |||||
* | Fix false positive for `use-maxsplit-arg` with custom split (#8114) | yushao2 | 2023-01-30 | 1 | -0/+5 |
| | | | | | | Closes #4857 Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [pre-commit] Upgrade to black 23.1a1 with 2023's formatting (#7965) | Pierre Sassoulas | 2022-12-27 | 1 | -1/+0 |
| | |||||
* | Fix `use-sequence-for-iteration` when unpacking a set with `*` (#7975) | Dani Alcala | 2022-12-26 | 1 | -4/+11 |
| | |||||
* | Do not report `consider_iterating_dictionary` if bitwise operations are used ↵ | Dani Alcala | 2022-11-10 | 1 | -1/+8 |
| | | | | | | | (#7743) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Move `consider-using-augmented-assign` to `CodeStyle` extension (#7628) | Marc Mueller | 2022-10-16 | 1 | -20/+0 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add ``consider-using-augmented-assign`` checker (#7514) | Daniël van Noord | 2022-09-22 | 1 | -0/+20 |
| | | | | Co-authored-by: clavedeluna <danalitovsky+git@gmail.com> Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | ||||
* | Finish typing across the codebase | Daniël van Noord | 2022-09-09 | 1 | -1/+1 |
| | |||||
* | Fixed misinterpreted modulo sign for ``consider-using-f-string`` (#6914) | Paul Lichtenberger | 2022-06-11 | 1 | -0/+6 |
| | | | | | | * Fixed a false positive in consider-using-f-string if the left side of a % is not a string. * consider-using-f-string: if left side of a \% does not have the attr value it can't be a str | ||||
* | Some initial line wrapping of docstrings (#6672) | Daniël van Noord | 2022-05-23 | 1 | -1/+3 |
| | |||||
* | Run development version of ``pydocstringformatter`` (#6469) | Daniël van Noord | 2022-04-28 | 1 | -1/+1 |
| | |||||
* | Migrate from utils.check_messages to utils.only_required_for_messages (#6432) | Pierre Sassoulas | 2022-04-22 | 1 | -4/+6 |
| | |||||
* | Remove ``IAstroidChecker`` from ``__implements__`` | Daniël van Noord | 2022-04-19 | 1 | -2/+1 |
| | |||||
* | Deprecate ``get_global_option`` | Daniël van Noord | 2022-04-15 | 1 | -2/+1 |
| | |||||
* | Use ``python-typing-update`` on ``pylint/checkers/...`` directories | Daniël van Noord | 2022-04-14 | 1 | -2/+2 |
| | |||||
* | Add a pre-commit hook to check the copyright notice | Pierre Sassoulas | 2022-03-24 | 1 | -1/+2 |
| | | | | | 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 | -0/+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. | ||||
* | Fix crash in `use-maxsplit-arg` checker where `sep` given by keyword (#5772) | Jacob Walls | 2022-02-06 | 1 | -2/+2 |
| | |||||
* | Format docstrings with ``pydocstringformatter`` | Daniël van Noord | 2022-01-02 | 1 | -1/+2 |
| | |||||
* | Fix typos accross the whole codebase (#5575) | Pierre Sassoulas | 2021-12-21 | 1 | -1/+1 |
| | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Deprecate ``is_inside_lambda`` from utils (#5447) | Daniël van Noord | 2021-12-03 | 1 | -1/+1 |
| | | | | | | | * Deprecate ``is_inside_lambda`` from utils * Allow tuple and single type for ``get_node_first_ancestor_of_type`` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Update pylint/checkers/refactoring/recommendation_checker.py | yushao2 | 2021-11-29 | 1 | -1/+1 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Apply suggestions from code review | yushao2 | 2021-11-29 | 1 | -2/+2 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | added util functions and changed code according to pr comments | Yu Shao | 2021-11-29 | 1 | -16/+15 |
| | |||||
* | fix(consider-interating-dictionary): fix false negatives | Yu Shao | 2021-11-29 | 1 | -13/+15 |
| | |||||
* | Activate and fix existing use-set-for-membership checks (#5379) | Pierre Sassoulas | 2021-11-25 | 1 | -1/+1 |
| | | | | * Activate and fix existing use-set-for-membership checks | ||||
* | Fix a crash if ``str.format`` is referenced without being called (#5109) | Tim Martin | 2021-10-06 | 1 | -2/+2 |
| | | | | | Closes #5058 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Small py-version improvements (#5069) | Marc Mueller | 2021-09-25 | 1 | -1/+1 |
| | | | | | | | | | * Add py-version requirement to checker docs * Improve default value * Improve option parser error message * Fix py-version help text | ||||
* | Make ``consider-using-f-string`` skip `format()` with backslash (#5055) | Daniël van Noord | 2021-09-21 | 1 | -0/+7 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Require Python 3.6 for consider f-string check (#5024) | Marc Mueller | 2021-09-17 | 1 | -5/+13 |
| | | | | | | | * Require Python 3.6 for consider f-string check Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Remove most `typing.cast()` calls (#4995) | Daniël van Noord | 2021-09-15 | 1 | -9/+1 |
| | |||||
* | Make consider-iterating-dictionary consider membership check (#4997) | Daniël van Noord | 2021-09-14 | 1 | -11/+18 |
| | |||||
* | Moved ``consider-using-f-string`` to `RecommendationChecker` (#4957) | Daniël van Noord | 2021-09-03 | 1 | -0/+78 |
| | | | | | Based on discussion in #4787 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Use alias for astroid.nodes 03 (#4866) | Marc Mueller | 2021-08-18 | 1 | -47/+47 |
| | | | | | | | | | * Use alias for astroid nodes 03 * Resolve name conflicts * Apply suggestions from code review Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add new check - use-sequence-for-iteration | Marc Mueller | 2021-08-13 | 1 | -3/+25 |
| | |||||
* | Refactor visit_comprehension | Marc Mueller | 2021-08-13 | 1 | -0/+6 |
| | |||||
* | Update code from review feedback | Yu Shao, Pang | 2021-07-07 | 1 | -0/+3 |
| | |||||
* | [use-maxsplit-arg] Handle case of mutating subscript in loop | Yu Shao, Pang | 2021-07-07 | 1 | -24/+44 |
| | |||||
* | Fix copyright links (#4647) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | * Fix link in license header * Update link to astroid bump_changelog | ||||
* | Apply suggestions from code review | yushao2 | 2021-07-01 | 1 | -1/+2 |
| | | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | fix false positive of `consider-using-dict-items` | Yu Shao, Pang | 2021-07-01 | 1 | -1/+1 |
| | |||||
* | Remove deprecated astroid.Index and astroid.ExtSlice nodes (#4568) | Marc Mueller | 2021-06-16 | 1 | -6/+0 |
| | |||||
* | Fixed false negative of consider-using-enumerate on attributes (#4508) | yushao2 | 2021-05-26 | 1 | -9/+20 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Implemented new check use-maxsplit-arg (#4469) | yushao2 | 2021-05-22 | 1 | -2/+51 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Removed redundant logic from consider-using-dict-items (#4486) | yushao2 | 2021-05-22 | 1 | -5/+2 |
| | |||||
* | Implemented new check consider-using-dict-items (#4445) | yushao2 | 2021-05-11 | 1 | -2/+93 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Rename copying to license and upgrade the setup.cfg (#4338) | Pierre Sassoulas | 2021-04-11 | 1 | -1/+1 |
| | |||||
* | Remove the # coding, since PEP3120 the default is UTF8 | Pierre Sassoulas | 2021-02-21 | 1 | -2/+0 |
| | |||||
* | Fix a crash in `consider-using-enumerate` when encountering `range()` ↵ | Claudiu Popa | 2020-12-29 | 1 | -0/+2 |
| | | | | | | without arguments Close #3735 |