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

PyCQA / pylint / 1010 / 3
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 03 Jan 2017 07:52AM UTC
Files 33
Run time 1s
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

03 Jan 2017 07:50AM UTC coverage: 24.774% (+0.003%) from 24.771%
TOXENV=py34

push

travis-ci

PCManticore
Check if a name is locally assigned when looking for used-before-assignment

If a name is locally assigned and there is another global name with the same variable, this can result in an UnboundLocalError, as seen in the following example:

  x = 24
  def test(a):
     if x == a:
           for x in [1, 2, 3]:
               print(x)
  test(24)

In this case, we should emit an ``used-before-assignment`` message. Closes #1081

2111 of 8521 relevant lines covered (24.77%)

0.25 hits per line

Source Files on job 1010.3 (TOXENV=py34)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1010
  • Travis Job 1010.3
  • 4bb474df on github
  • Prev Job for TOXENV=py34 on master (#1009.3)
  • Next Job for TOXENV=py34 on master (#1014.3)
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