diff options
| author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2022-08-08 20:19:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-08 20:19:40 +0200 |
| commit | 09e5ce9152d979ad9b53f4f798b98d4ac186d145 (patch) | |
| tree | 0cd54fa8032c92533c407b2fcb0caa2487b7fdcc /tests | |
| parent | b92f2ebe8d055fdb130292958f13fd401484315b (diff) | |
| download | astroid-git-09e5ce9152d979ad9b53f4f798b98d4ac186d145.tar.gz | |
[pre-commit.ci] pre-commit autoupdate (#1726)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.37.2 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.37.2...v2.37.3)
- https://github.com/Pierre-Sassoulas/black-disable-checker/: v1.1.0 → v1.1.1
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.3](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.3)
* Disable line too long and line break before binary operator
As there's a lot of the format and the latter is incompatible with black.
* [flake8] Deactivate the check for return and yield together
It's opinionated see https://github.com/PyCQA/flake8-bugbear/issues/2
and every current warning is a false positive.
* Explain falke8 disables
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unittest_lookup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittest_lookup.py b/tests/unittest_lookup.py index 34363bfa..b0646a76 100644 --- a/tests/unittest_lookup.py +++ b/tests/unittest_lookup.py @@ -83,7 +83,7 @@ class LookupTest(resources.SysPathSetup, unittest.TestCase): name = next(cls2.nodes_of_class(nodes.Name)) self.assertEqual(next(name.infer()), cls1) - ### backport those test to inline code + # backport those test to inline code def test_method(self) -> None: method = self.module["YOUPI"]["method"] my_dict = next(method.ilookup("MY_DICT")) |
