diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 97e2157..3e4dfd3 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -29,4 +29,4 @@ jobs: with: arguments: >- --exclude=.svn,CVS,.bzr,.hg,.git,zzantlr - --ignore=E121,E123,E126,E133,E226,E241,E242,E704,W503,W504,W505,W191,E101,E128,E712 + --ignore=E121,E123,E126,E133,E226,E241,E242,E704,W503,W504,W505,W191,E101,E128 diff --git a/RASP_support/Sugar.py b/RASP_support/Sugar.py index 65adfae..95516be 100644 --- a/RASP_support/Sugar.py +++ b/RASP_support/Sugar.py @@ -70,8 +70,9 @@ def asbool(seq): def tplnot(seq, name=None): # this one does correct conversion using asbool and then we really can just - # do ==False - res = asbool(seq) == False + # do == False + pep8hack = False # this avoids violating E712 of PEP8 + res = asbool(seq) == pep8hack return _addname(res, name, "( not " + str(seq.name) + " )")