summaryrefslogtreecommitdiff
path: root/tests/pyreverse/test_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump pylint to 2.12.0, update changelogv2.12.0Pierre Sassoulas2021-11-251-1/+1
| | | | Closes #5250
* Bump pylint to 2.11.0, update changelogv2.11.0Pierre Sassoulas2021-09-161-0/+1
|
* Add typing with `PyAnnotate` to `./tests` (#4950)Daniël van Noord2021-09-041-6/+7
| | | | | | * Add mypy_extensions to requirement for ``NoReturn`` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Refactor various typing related issues (#4940)Daniël van Noord2021-09-031-2/+2
| | | | | | | | | | | | | | | * Add type annotations to ``visit`` & ``leave`` calls This adds typing to most calls that visit nodes. All other changes are due to mypy errors resulting from introduction of typing. * Fix outstanding mypy issues This removes some of the `type: ignore` comments in favour of solving the mypy issues these comments were surpressing. * Fix remaining references to node_classes Except for two references to node_classes in the changelog this should be the last of them Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add ``Consider-using-f-string`` checker (#4796)Daniël van Noord2021-08-301-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.2-dev0, update changelogAshley Whetter2021-08-201-0/+1
|
* Bump pylint to 2.10.1, update changelogv2.10.1Ashley Whetter2021-08-201-0/+1
|
* Bump pylint to 2.10.0, update changelogv2.10.0Pierre Sassoulas2021-08-201-1/+2
|
* Use alias for astroid.nodes 04 (#4869)Marc Mueller2021-08-191-7/+8
| | | | | | | | | * Use alias for astroid nodes 04 * Resolve name conflicts * Apply suggestions from code review Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* pyreverse - Handle a regression with typehints of type astroid.Subscript (#4859)Mark Byrne2021-08-181-0/+20
| | | | | | | | | | | | | | | | | * pyreverse - Handle a regression with typehints of type astroid.Subscript Closes #4845 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * pyreverse - Handle a regression with typehints of type astroid.Subscript - Add test-case to pyreverse data files Closes #4845 Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Extract tests for ``pylint.pyreverse.utils`` into own test module.DudeNr332021-08-091-0/+119