summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue #5969 for `modified_iterating-list` (#5986)orSolocate2022-03-263-2/+24
| | | | | When the list/dict/set being iterated through is a function call. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Don't emit broken typing errors inside TYPE_CHECKING blocks (#5984)Marc Mueller2022-03-2610-24/+55
|
* Loosen TypeVar name pattern (#5983)Marc Mueller2022-03-265-11/+21
|
* Fix false positive for `unused-argument` where nested function uses parent ↵Jacob Walls2022-03-266-7/+37
| | | | | | argument as a `nonlocal` (#5906) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Don't emit `raising-bad-type` when there is ambiguity (#5968)Jacob Walls2022-03-264-9/+33
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix nonlocal in try block regression for `used-before-assignment` (#5966)Jacob Walls2022-03-264-8/+48
|
* Bump pylint to 2.13.0, update changelogv2.13.0Pierre Sassoulas2022-03-245-18/+50
| | | | | | Create the release summary upgrade the release process. Bump pylint to 2.13.0, update changelog
* [cleanup] Remove unused code in pylint.checker.base following refactorPierre Sassoulas2022-03-242-34/+3
|
* [refactor] Create a file for the BasicChecker in pylint.checker.basePierre Sassoulas2022-03-242-812/+818
|
* [refactor] Create a file for the BasicErrorChecker in pylint.checker.basePierre Sassoulas2022-03-242-557/+573
|
* [refactor] Create a package for the NameChecker in pylint.checker.basePierre Sassoulas2022-03-247-992/+1088
|
* [refactor] Create a file for the DocstringChecker in pylint.checker.basePierre Sassoulas2022-03-242-189/+211
|
* [refactor] Create a file for the PassChecker in pylint.checker.basePierre Sassoulas2022-03-242-20/+29
|
* [refactor] Create files for comparison checker in pylint.checker.basePierre Sassoulas2022-03-242-285/+297
|
* [refactor] Create a file for _BasicChecker in pylint.checkersPierre Sassoulas2022-03-242-6/+15
|
* [refactor] Create a package in order to be able to burst base.pyPierre Sassoulas2022-03-242-0/+0
|
* Add documentation for messages with assert in their name (#5960)Daniël van Noord2022-03-246-0/+20
| | | | Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add documentation for messages with anomalous in their nameDaniël van Noord2022-03-245-0/+6
| | | | Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com>
* Add documentation for abstract-method and abstract-class-instantiated (#5957)Daniël van Noord2022-03-244-0/+67
| | | | Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Create a ``TypeVar`` style for ``invalid-name`` (#5894)Daniël van Noord2022-03-2413-34/+176
| | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Make ``arguments-differ`` check extra parameters for default values (#5539)Daniël van Noord2022-03-247-16/+88
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* Add documentation for access-member-before-definition (#5958)Daniël van Noord2022-03-243-1/+15
| | | Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com>
* Fix copyright in doc/test_messages_documentation.pyPierre Sassoulas2022-03-241-0/+4
|
* Adaptation for pylintPierre Sassoulas2022-03-241-3/+6
|
* Use the new process created in https://github.com/PyCQA/astroid/pull/1438Pierre Sassoulas2022-03-241-36/+64
|
* Add CI test for message documentation (#5956)Daniël van Noord2022-03-243-2/+143
|
* Add bad-open-mode and unspecified-encoding documentation (#5954)Daniël van Noord2022-03-245-1/+13
| | | | Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com>
* Upgrade documentation for contributors.txtPierre Sassoulas2022-03-242-4/+4
|
* Add a pre-commit hook to check the copyright noticePierre Sassoulas2022-03-24224-196/+358
| | | | | Fix the existing file so they have a notice. No header for setup.py or examples or doc
* Simplify hard to maintain copyright noticePierre Sassoulas2022-03-24185-1814/+190
| | | | | | 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.
* Cleanup after finding emails and duplicatesPierre Sassoulas2022-03-232-36/+18
|
* Sort contributors according to their number of commitsPierre Sassoulas2022-03-231-240/+240
|
* Separate contributors without email from othersPierre Sassoulas2022-03-231-57/+64
|
* Add the email when easily availablePierre Sassoulas2022-03-231-213/+416
| | | | | I.E. the used name in git is the same that was already existing in the contributors.txt.
* Add more aliases to the contributors.txt configurationPierre Sassoulas2022-03-231-39/+495
|
* Add a script to update the CONTRIBUTORS.txtPierre Sassoulas2022-03-239-0/+48
|
* Set up system of code examples and details for message documentation (#5934)Daniël van Noord2022-03-239-3/+89
|
* ``pyreverse``: better error messages for unsupported file formats (#5951)Andreas Finkler2022-03-226-15/+145
| | | | | * Pyreverse: better error messages for unsupported file formats * Apply suggestions from code review.
* [pre-commit.ci] pre-commit autoupdate (#5949)pre-commit-ci[bot]2022-03-221-2/+2
| | | | | | | updates: - [github.com/pre-commit/mirrors-mypy: v0.940 → v0.941](https://github.com/pre-commit/mirrors-mypy/compare/v0.940...v0.941) - [github.com/pre-commit/mirrors-prettier: v2.5.1 → v2.6.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.5.1...v2.6.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Sort the copyrite aliases alphabeticallyPierre Sassoulas2022-03-211-53/+53
|
* Migrate current copyrite configuration to new formatPierre Sassoulas2022-03-211-36/+21
|
* Bump actions/cache from 2.1.7 to 3 (#5944)dependabot[bot]2022-03-212-17/+17
| | | | | | | | | | | | | | | | | | * Bump actions/cache from 2.1.7 to 3 Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.7...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Bump mypy from 0.940 to 0.941 (#5945)dependabot[bot]2022-03-211-1/+1
| | | | | | | | | | | | | | | | Bumps [mypy](https://github.com/python/mypy) from 0.940 to 0.941. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.940...v0.941) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix #4590: `used-before-assignment` false positive for class definition in ↵Jacob Walls2022-03-214-7/+44
| | | | function scope (#5937)
* Add missing __magic__ methods to `_SPECIAL_METHODS_PARAMS` (#5941)Joe Young2022-03-216-8/+23
|
* Update "How to Write a Checker" docs (#5939)Joseph Young2022-03-201-37/+33
| | | | | Make init arg optional to satisfy mypy. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix pyreverse type hints for methods returning None (#5916)Téo Bouvard2022-03-1912-11/+43
|
* Use pytest-timeout for testsSergey B Kirpichev2022-03-183-56/+19
|
* Optimize handling of long lines for checkers like 'missing-final-newline' ↵Sergey B Kirpichev2022-03-166-11/+37
| | | | | | | | | | | | | | (#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>
* Remove primer test on black-primer (#5924)Téo Bouvard2022-03-161-1/+1
| | | | | | | | black-primer was removed from black repository, so primer test on this directory has been removed to prevent the CI from failing. See psf/black#2924 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>