Skip to content

Commit

Permalink
Bump flake8 from 6.0.0 to 6.1.0 (#1672)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: davfsa <davfsa@gmail.com>
  • Loading branch information
dependabot[bot] and davfsa authored Jul 31, 2023
1 parent 0ca0902 commit 31f7e7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev-requirements/flake8.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flake8==6.0.0
flake8==6.1.0

# Plugins
# Ref: https://github.com/DmytroLitvinov/awesome-flake8-extensions
Expand Down
8 changes: 4 additions & 4 deletions tests/hikari/internal/test_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class Enum(int, enums.Enum):

returned = Enum(9)
assert returned == Enum.foo
assert type(returned) == Enum
assert type(returned) is Enum

def test_call_when_not_member(self):
class Enum(int, enums.Enum):
Expand All @@ -212,7 +212,7 @@ class Enum(int, enums.Enum):

returned = Enum(69)
assert returned == 69
assert type(returned) != Enum
assert type(returned) is not Enum

def test_getitem(self):
class Enum(int, enums.Enum):
Expand All @@ -222,7 +222,7 @@ class Enum(int, enums.Enum):

returned = Enum["foo"]
assert returned == Enum.foo
assert type(returned) == Enum
assert type(returned) is Enum

def test_contains(self):
class Enum(int, enums.Enum):
Expand Down Expand Up @@ -1252,7 +1252,7 @@ class TestFlag(enums.Flag):

returned = TestFlag["FOO"]
assert returned == TestFlag.FOO
assert type(returned) == TestFlag
assert type(returned) is TestFlag

def test_repr(self):
class TestFlag(enums.Flag):
Expand Down

0 comments on commit 31f7e7f

Please sign in to comment.