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

PyCQA / pylint / 702 / 1
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 23 Aug 2016 05:51AM UTC
Files 52
Run time 2s
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

23 Aug 2016 05:46AM UTC coverage: 88.949%. Remained the same
TOXENV=py27

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

8749 of 9836 relevant lines covered (88.95%)

0.89 hits per line

Source Files on job 702.1 (TOXENV=py27)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 702
  • Travis Job 702.1
  • 50c90e5c on github
  • Prev Job for TOXENV=py27 on master (#701.1)
  • Next Job for TOXENV=py27 on master (#703.1)
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