diff options
author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2023-04-04 11:26:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 11:26:05 +0200 |
commit | b4bb2d98a14558310f14778e1591e45193d39bc7 (patch) | |
tree | 3e9b9d4022e1b924fa5a9568cf616f324b03d78f /tests | |
parent | be6b61f84230ee0043806b4d153d5f49d3e0743b (diff) | |
download | astroid-git-b4bb2d98a14558310f14778e1591e45193d39bc7.tar.gz |
[pre-commit.ci] pre-commit autoupdate (#2097)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.259 → v0.0.260](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.259...v0.0.260)
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_regrtest.py | 2 | ||||
-rw-r--r-- | tests/test_scoped_nodes.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_regrtest.py b/tests/test_regrtest.py index b135081a..88c4aab9 100644 --- a/tests/test_regrtest.py +++ b/tests/test_regrtest.py @@ -126,7 +126,7 @@ def run(): classes = astroid.nodes_of_class(nodes.ClassDef) for klass in classes: # triggers the _is_metaclass call - klass.type # pylint: disable=pointless-statement + klass.type # pylint: disable=pointless-statement # noqa[B018] def test_decorator_callchain_issue42(self) -> None: builder = AstroidBuilder() diff --git a/tests/test_scoped_nodes.py b/tests/test_scoped_nodes.py index 705f5d2d..1a6b8d15 100644 --- a/tests/test_scoped_nodes.py +++ b/tests/test_scoped_nodes.py @@ -263,7 +263,7 @@ class ModuleNodeTest(ModuleLoader, unittest.TestCase): file_build = builder.AstroidBuilder().file_build(path, "all") with self.assertRaises(AttributeError): # pylint: disable=pointless-statement, no-member - file_build.file_stream + file_build.file_stream # noqa[B018] def test_stream_api(self) -> None: path = resources.find("data/all.py") |