Update flake8 requirement from ==6.0.* to ==7.0.*

This commit is contained in:
Raphael Michel
2024-02-15 13:46:27 +01:00
parent 0334c2f433
commit c80d5b1bb2
2 changed files with 2 additions and 4 deletions

View File

@@ -113,13 +113,11 @@ dev = [
"coverage",
"coveralls",
"fakeredis==2.21.*",
"flake8==6.0.*",
"flake8==7.0.*",
"freezegun",
"isort==5.13.*",
"pep8-naming==0.13.*",
"potypo",
"pycodestyle==2.10.*",
"pyflakes==3.0.*",
"pytest-asyncio",
"pytest-cache",
"pytest-cov",

View File

@@ -62,7 +62,7 @@ def soft_equals(a, b):
def hard_equals(a, b):
"""Implements the '===' operator."""
if type(a) != type(b):
if type(a) is not type(b):
return False
return a == b