From 226c0dd22246d6e778d81fc9f9a3c680f182f7f0 Mon Sep 17 00:00:00 2001 From: Bernd Schuller Date: Thu, 20 Jun 2024 17:27:09 +0200 Subject: [PATCH] . --- .pre-commit-config.yaml | 2 +- tests/unit/cli/test_base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 40b343f..4260906 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: args: ["--config", "pyproject.toml"] - repo: https://github.com/pycqa/flake8 - rev: 5.0.4 + rev: 7.1.0 hooks: - id: flake8 additional_dependencies: diff --git a/tests/unit/cli/test_base.py b/tests/unit/cli/test_base.py index 47e8de2..71da047 100644 --- a/tests/unit/cli/test_base.py +++ b/tests/unit/cli/test_base.py @@ -14,7 +14,7 @@ def test_base_setup(self): cmd.config["registry"], ) cmd.create_credential() - self.assertTrue(type(cmd.credential) == UsernamePassword) + self.assertTrue(isinstance(cmd.credential, UsernamePassword)) if __name__ == "__main__":