Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [use-implicit-booleaness] Reinstate tests that are expected to fail | Pierre Sassoulas | 2023-05-03 | 1 | -10/+10 |
| | |||||
* | Add applicability notes for `compare-to-empty-string/zero` (#8592) | Jason Lau | 2023-05-03 | 3 | -44/+44 |
| | | | | | | The extension `compare-to-empty-string` is only applicable when the expression being compared is strictly a `str`. The extension `compare-to-zero` is only applicable when the expression being compared is strictly an `int`. | ||||
* | Switch from ' to " in use-implicit-booleaness-not-comparison | Pierre Sassoulas | 2023-05-03 | 1 | -32/+32 |
| | | | | | Because empty string needs to " because node.as_string() use simple quote. | ||||
* | Merge the empty-string extensions to 'implicit_booleaness_checker' | Pierre Sassoulas | 2023-05-02 | 6 | -30/+30 |
| | |||||
* | Merge the compare-to-zero extensions to 'implicit_booleaness_checker' | Pierre Sassoulas | 2023-05-02 | 6 | -54/+54 |
| | |||||
* | Search for pyproject.toml config file in parent dirs (#7163) | Mikhail f. Shiryaev | 2023-04-30 | 1 | -0/+41 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Fix false negative for calling module-level function before definition (#8494) | Jacob Walls | 2023-04-29 | 3 | -10/+23 |
| | |||||
* | Add home-assistant to primer and remove old external primer (#8612) | Jacob Walls | 2023-04-29 | 4 | -95/+5 |
| | |||||
* | Added escaping of vertical bar character in annotation labels (#8610) | ViRuSTriNiTy | 2023-04-26 | 16 | -11/+44 |
| | |||||
* | Bump astroid to 3.0.0a1 (#8626) | Marc Mueller | 2023-04-25 | 1 | -1/+8 |
| | |||||
* | Drop support for Python 3.7 (#8609) | Marc Mueller | 2023-04-24 | 12 | -39/+15 |
| | | | | | * Drop support for Python 3.7 * Update py-version + classifier * Update functional tests | ||||
* | Fix a false positive for ``bad-dunder-name`` when there is a user-defined ↵ | Mark Byrne | 2023-04-24 | 1 | -0/+3 |
| | | | | | ``__index__`` method. (#8619) Closes #8613 | ||||
* | Update pytest requirement from ~=7.2 to ~=7.3 (#8562) | dependabot[bot] | 2023-04-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | * Update pytest requirement from ~=7.2 to ~=7.3 Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.2.0...7.3.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production ... * Disable import-error as attrs is no longer a test dependency --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Modified all occurences of "a f-string" to "an f-string" | Elazrod56 | 2023-04-20 | 3 | -32/+32 |
| | |||||
* | Modified comment on line 147 to improve spelling | Elazrod56 | 2023-04-20 | 1 | -1/+1 |
| | |||||
* | Fix FP `used-before-assignment` for statements guarded under same test (#8581) | Jacob Walls | 2023-04-16 | 2 | -1/+50 |
| | |||||
* | Improve output of `consider-using-generator` message for `min()` calls with ↵ | Jacob Walls | 2023-04-16 | 2 | -0/+6 |
| | | | | `default` keyword (#8582) | ||||
* | Cope with changes to `Arguments` constructor | Jacob Walls | 2023-04-16 | 1 | -1/+1 |
| | |||||
* | Cope with changes to `AssignAttr` constructor | Jacob Walls | 2023-04-16 | 1 | -1/+8 |
| | |||||
* | Fix `used-before-assignment` TYPE_CHECKING false negatives (#8431) | Zen Lee | 2023-04-15 | 2 | -0/+20 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Fix false negative for no-value-for-parameter: positional-only args and ↵ | Mark Byrne | 2023-04-14 | 3 | -0/+18 |
| | | | | **kwargs (#8575) | ||||
* | Fix false positive for ``keyword-arg-before-vararg`` (#8571) | Mark Byrne | 2023-04-13 | 3 | -0/+18 |
| | | | | | * Fix false positive for ``keyword-arg-before-vararg`` when a positional-only parameter with a default value precedes ``*args``. Closes #8570 | ||||
* | Fix `unused-import` to check`dummy-variables-rgx` (#8566) | RSTdefg | 2023-04-12 | 2 | -1/+6 |
| | | | | | Resolve #8500 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix false positive for ``positional-only-arguments-expected`` when a ↵ | Mark Byrne | 2023-04-09 | 1 | -0/+18 |
| | | | | function contains both a positional-only parameter that has a default value, and ``**kwargs``. (#8556) | ||||
* | Also check the typealias naming style for TypeAlias variables defined in ↵ | Yilei "Dolee" Yang | 2023-04-07 | 2 | -0/+12 |
| | | | | functions. (#8537) | ||||
* | Fix isinstance-second-argument-not-valid-type for union types with None | Rogdham | 2023-04-07 | 2 | -4/+8 |
| | |||||
* | Fix typelias `invalid-name` false positives for Union variables without ↵ | Yilei "Dolee" Yang | 2023-04-07 | 2 | -3/+6 |
| | | | | assignment. (#8541) | ||||
* | Do not emit `logging-not-lazy` for explicitly concatenated strings. (#8546) | Yilei "Dolee" Yang | 2023-04-07 | 2 | -7/+12 |
| | |||||
* | Fix check unused arguments false positive bug (#8542) | Théo Battrel | 2023-04-06 | 2 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | Problem: the special method `__new__` must match the arguments of the `__init__` method even if `__new__` method does not use them. This generate `unused-argument` for the `__new__` method. Fix: the unused arguments check should not be done on the `__new__` method if the `__init__` method is defined in the same class. Update `unused-argument` test to include a check for the case of `__init__` and `__new__` being defined in a class but `__new__` does not use all of the argument. This is fine because `__new__` must have the same argument of `__init__`. Update with a second check in case of `__init__` being not defined in a class. Then the unused arguments check must be done on `__new__`. Fixes https://github.com/pylint-dev/pylint/issues/3670 | ||||
* | Handle patterns in ignored-modules when checking for no-name-in-module (#7579) | Daniel Mouritzen | 2023-04-03 | 3 | -2/+8 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jared Proffitt <jaredproffitt@gmail.com> | ||||
* | Add regression test for #7506 (#8432) | Jacob Walls | 2023-04-03 | 2 | -8/+11 |
| | |||||
* | refactor pyreverse tests to use temporary directory (#8529) | Andreas Finkler | 2023-04-02 | 1 | -15/+7 |
| | |||||
* | [pyreverse] Bugfix: strip "/" at the end of the file (#8517) | Alvaro Frias | 2023-04-02 | 1 | -0/+17 |
| | | | | Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add Pyreverse option to exclude standalone nodes (#8520) | Nick Drozd | 2023-04-02 | 7 | -0/+58 |
| | | | | | | | | | | | * Add Pyreverse option to exclude standalone nodes * Add test * Add package test * Fix test names * Clean up test files | ||||
* | [cleanup] Upgrade more doc following the PyCQA migration | Pierre Sassoulas | 2023-03-31 | 17 | -26/+26 |
| | |||||
* | Fix `used-before-assignment` false positive for `TYPE_CHECKING` elif branch ↵ | Zen Lee | 2023-03-30 | 5 | -7/+22 |
| | | | | | | imports (#8441) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 281 | -490/+490 |
| | |||||
* | [crash template] Link to blank issue so it's possible to copy paste | Pierre Sassoulas | 2023-03-29 | 1 | -4/+8 |
| | |||||
* | Allow integers in TypeAlias names (#8488) | Stephane Odul | 2023-03-28 | 2 | -10/+14 |
| | |||||
* | [deprecation] Make 'OutputLine' require a fixed number of args (#8474) | Pierre Sassoulas | 2023-03-28 | 1 | -47/+1 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Fix `unnecessary-lambda` false positive for lambdas using its parameters in ↵ | cherryblossom | 2023-03-28 | 2 | -0/+13 |
| | | | | | | | their body (#8498) Fixes #8496 | ||||
* | [testutil] Do not count files with leading underscores | Pierre Sassoulas | 2023-03-28 | 2 | -7/+7 |
| | |||||
* | [refactor] Separate assertion from setup in functional test's test | Pierre Sassoulas | 2023-03-28 | 1 | -21/+32 |
| | |||||
* | [testutil] Display recursive call for crowded functional test dir | Pierre Sassoulas | 2023-03-28 | 4 | -0/+16 |
| | |||||
* | [testutil] Fix the algorithm for functional test discovery | Pierre Sassoulas | 2023-03-28 | 3 | -3/+8 |
| | |||||
* | [functional tests] Display all violations for disorganized directories | Pierre Sassoulas | 2023-03-28 | 1 | -1/+5 |
| | |||||
* | [testutil] Add proper test for the functional tests helpers | Pierre Sassoulas | 2023-03-28 | 17 | -29/+132 |
| | |||||
* | Don't consider ``Union`` to always be a type alias (#8489) | Daniël van Noord | 2023-03-23 | 1 | -0/+4 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [cleanup] Move tests starting with 'unbalanced' in a subdir | Pierre Sassoulas | 2023-03-23 | 5 | -0/+0 |
| | |||||
* | [cleanup] Move tests starting with 'invalid_all' in a subdir | Pierre Sassoulas | 2023-03-23 | 10 | -0/+0 |
| |