Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump flake8 from 6.0.0 to 6.1.0 #1672

Merged
merged 2 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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