mirror of
https://github.com/pretix/pretix.git
synced 2026-08-17 11:56:27 +00:00
Update flake8 requirement from ==6.0.* to ==7.0.*
This commit is contained in:
+1
-3
@@ -113,13 +113,11 @@ dev = [
|
|||||||
"coverage",
|
"coverage",
|
||||||
"coveralls",
|
"coveralls",
|
||||||
"fakeredis==2.21.*",
|
"fakeredis==2.21.*",
|
||||||
"flake8==6.0.*",
|
"flake8==7.0.*",
|
||||||
"freezegun",
|
"freezegun",
|
||||||
"isort==5.13.*",
|
"isort==5.13.*",
|
||||||
"pep8-naming==0.13.*",
|
"pep8-naming==0.13.*",
|
||||||
"potypo",
|
"potypo",
|
||||||
"pycodestyle==2.10.*",
|
|
||||||
"pyflakes==3.0.*",
|
|
||||||
"pytest-asyncio",
|
"pytest-asyncio",
|
||||||
"pytest-cache",
|
"pytest-cache",
|
||||||
"pytest-cov",
|
"pytest-cov",
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ def soft_equals(a, b):
|
|||||||
|
|
||||||
def hard_equals(a, b):
|
def hard_equals(a, b):
|
||||||
"""Implements the '===' operator."""
|
"""Implements the '===' operator."""
|
||||||
if type(a) != type(b):
|
if type(a) is not type(b):
|
||||||
return False
|
return False
|
||||||
return a == b
|
return a == b
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user