• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PyCQA / pylint / 702
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 23 Aug 2016 05:51AM UTC
Jobs 5
Files 52
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
702

push

travis-ci

PCManticore
Don't warn about used-before-assignment if the variable is in an exclusive except branch with NameError as a handler

Until now, we weren't emitting a warning in the case of a variable being
referenced before actual definition, with the variable access being placed
inside a TryExcept, with an except handler that caught NameError, Exception and BaseException.
While for NameError it makes sense, since it is explicit that the user is expecting
a variable to not be defined, it does not make that much sense for the rest of
the exceptions, even if they are supertypes of NameError anyway. This is because
it is not explicit and we cannot infer what the user intended to do anyway.
We are now only handling NameError.

Close #1080

8905 of 9836 relevant lines covered (90.53%)

4.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 702.1 (TOXENV=py27) 23 Aug 2016 05:51AM UTC 0
88.95
Travis Job 702.1
2 702.2 (TOXENV=py33) 23 Aug 2016 05:51AM UTC 0
88.33
Travis Job 702.2
3 702.3 (TOXENV=py34) 23 Aug 2016 05:51AM UTC 0
88.31
Travis Job 702.3
4 702.4 (TOXENV=py35) 23 Aug 2016 05:51AM UTC 0
88.37
Travis Job 702.4
5 702.5 (TOXENV=pypy) 23 Aug 2016 05:56AM UTC 0
88.81
Travis Job 702.5
Source Files on build 702
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #702
  • 50c90e5c on github
  • Prev Build on master (#701)
  • Next Build on master (#703)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc