diff --git a/pyproject.toml b/pyproject.toml index 158c4d6a98..58b7f50018 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/src/pretix/helpers/jsonlogic.py b/src/pretix/helpers/jsonlogic.py index 9e6626c113..8a31596867 100644 --- a/src/pretix/helpers/jsonlogic.py +++ b/src/pretix/helpers/jsonlogic.py @@ -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