mirror of
https://github.com/pretix/pretix.git
synced 2026-01-26 00:52:26 +00:00
Update flake8 requirement from ==6.0.* to ==7.0.*
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user