GNOME Bugzilla – Bug 784585
PEP-8 errors: E722 do not use bare except'
Last modified: 2018-01-24 12:01:19 UTC
Version: 0.3.12 PEP-Version: 2.3.1 Running "make check" with the latest pep version results in pep8 --max-line-length=99 --ignore=E123,E402 --exclude='.svn,CVS,.bzr,.hg,.git,__pycache__,.#*' ../../src/ ../../src/dfeet/bus_watch.py:109:9: E722 do not use bare except' ../../src/dfeet/bus_watch.py:193:9: E722 do not use bare except' ../../src/dfeet/dbus_utils.py:14:5: E722 do not use bare except' ../../src/dfeet/dbus_utils.py:148:13: E722 do not use bare except' ../../src/dfeet/introspection.py:25:9: E722 do not use bare except' ../../src/dfeet/settings.py:10:1: E722 do not use bare except' ../../src/dfeet/wnck_utils.py:21:1: E722 do not use bare except'
@Michael, where do you get pep8==2.3.1 ? Latest version I see is 1.7.1 (https://pypi.python.org/pypi/pep8)
Hi Thomas (In reply to Thomas Bechtold from comment #1) > @Michael, where do you get pep8==2.3.1 ? Latest version I see is 1.7.1 > (https://pypi.python.org/pypi/pep8) That's interesting: $ apt-cache policy pep8 pep8: Installiert: 1.7.1-1 Installationskandidat: 1.7.1-1 Versionstabelle: *** 1.7.1-1 500 500 http://ftp.de.debian.org/debian sid/main amd64 Packages 500 http://ftp.de.debian.org/debian sid/main i386 Packages 100 /var/lib/dpkg/status *but* $ pep8 --version 2.3.1 Looking at the dependencies of pep8, I see $ apt-cache policy pycodestyle pycodestyle: Installiert: 2.3.1-2 Installationskandidat: 2.3.1-2 Versionstabelle: *** 2.3.1-2 500 500 http://ftp.de.debian.org/debian sid/main amd64 Packages 500 http://ftp.de.debian.org/debian sid/main i386 Packages 100 /var/lib/dpkg/status So I guess that's where version 2.3.1 is coming from.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/d-feet/issues/10.