summaryrefslogtreecommitdiff
path: root/tests/checkers/unittest_variables.py
Commit message (Collapse)AuthorAgeFilesLines
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-291-4/+4
|
* [pre-commit] Upgrade to black 23.1a1 with 2023's formatting (#7965)Pierre Sassoulas2022-12-271-3/+0
|
* [spelling] Remove remaining typoes detected by the spelling checkerPierre Sassoulas2022-04-261-1/+1
|
* Add two assertions for reporterDaniël van Noord2022-04-211-0/+2
|
* Add a pre-commit hook to check the copyright noticePierre Sassoulas2022-03-241-1/+1
| | | | | 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-241-19/+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.
* Format docstrings with ``pydocstringformatter``Daniël van Noord2022-01-021-1/+2
|
* Check `node` location attributes in unittests and update tests (#5383)Daniël van Noord2021-12-131-3/+25
| | | | | | | | | | | | | | | | | | | | | | * Allow checking of `end_col_offset` and `end_lineno` in unittests * Allow checking of `col_offset` in unittests * Allow checking of `lineno` in unittests * Update tests for ``TestVariablesChecker`` * Fix ``TestMultiNamingStyle`` * Update tests for ``TestImportsChecker`` * Add location attributes to messages of ``TestTypeChecker`` * Add location params to ``TestMessage``'s of ``TestDeprecatedChecker`` * Add location params to ``TestMessage``'s of ``TestTypeCheckerOnDecorators`` * Add changelog and ``DeprecationWarning``
* Move ``TestVariablesChecker`` to functional tests (#5419)Daniël van Noord2021-11-281-168/+1
|
* Fix checking of ``confidence`` in the unittests (#5376)Daniël van Noord2021-11-241-3/+7
| | | | | * Fix checking of ``confidence`` in the unittests Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Rename ``pylint.testutils.TestMessage`` to ``MessageTest`` (#5051)Daniël van Noord2021-09-201-6/+6
|
* Rename `pylint.testutil.Message` to `pylint.testutil.TestMessage` (#5043)Daniël van Noord2021-09-181-6/+6
| | | * Rename `Message` to `TestMessage``
* Bump pylint to 2.11.0, update changelogv2.11.0Pierre Sassoulas2021-09-161-0/+1
|
* Add typing to ``filepath`` (#4980)Daniël van Noord2021-09-161-1/+1
| | | | | | | | | | * Change tests for ``filepath`` changes * Add pylint/typing.py and FileItem NamedTuple * Use NamedTuple more efficiently * Fix errors and tests after adding warning * Add deprecation for future API change in Checker Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add typing with `PyAnnotate` to `./tests` (#4950)Daniël van Noord2021-09-041-22/+22
| | | | | | * Add mypy_extensions to requirement for ``NoReturn`` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Bump pylint to 2.9.3, update changelogv2.9.3Pierre Sassoulas2021-07-011-1/+1
|
* Fix copyright links (#4647)Marc Mueller2021-07-011-1/+1
| | | | * Fix link in license header * Update link to astroid bump_changelog
* Bump pylint to 2.9.0, update changelog, add python 3.10 to package metav2.9.0Pierre Sassoulas2021-06-291-0/+1
|
* VariableChecker now accounts for attribute lookups in type comments (#4604)Sergei Lebedev2021-06-271-0/+20
| | | | | | | | | | | * VariableChecker now accounts for attribute lookups in type comments Prior to this commit VariableChecker did not recurse into attribute lookups in type comments. This lead to false positive unused-import messages in e.g. import collections d = ... # type: collections.OrderedDict Fixes #4603
* Update copyrite noticev2.8.2Pierre Sassoulas2021-04-261-0/+1
|
* Changes after black updateMarc Mueller2021-04-261-2/+2
|
* Rename copying to license and upgrade the setup.cfg (#4338)Pierre Sassoulas2021-04-111-1/+1
|
* Apply copyrite --contribution-thresholdPierre Sassoulas2021-02-211-1/+2
|
* Remove the # coding, since PEP3120 the default is UTF8Pierre Sassoulas2021-02-211-1/+0
|
* Update formatting following black and isort updatePierre Sassoulas2020-09-101-3/+3
|
* Sets up copyrighthippo912020-08-201-1/+2
|
* Fix scoping for function annotations, decorators and base classes (#3713)Andrew Simmons2020-07-121-0/+20
| | | | | | | | | Fix scoping for function annotations, decorators and base classes Closes #1082, #3434, #3461 Reduce number of branches in variables checker Co-authored-by: Andrew Simmons <a.simmons@deakin.edu.au>
* Remove the 'checker' in moved file namePierre Sassoulas2020-04-271-0/+332