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

PyCQA / pylint / 3828 / 10
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 25 Mar 2020 08:41AM UTC
Files 70
Run time 5s
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

25 Mar 2020 08:15AM UTC coverage: 89.493% (+0.005%) from 89.488%
TOXENV=pypy

push

travis-ci

PCManticore
Allow used variables to be properly consumed when different checks are enabled / disabled

When everything else was disabled, except `unused-import`, pylint was emitting `unused-import`
even though the imports in questions were used.
The emission occurred due to the fact that disabling all the messages also disabled the calling
of `visit_name`, which deals with `undefined-variable`. This resulted in `visit_name` not marking
as consumed the earlier import as expected.
This fix still allows `visit_name` to be called, but the emission of `undefined-variable` and friends
is controlled via a flag prior to emission call site.

This is somewhat of a "temporary" hack, a better solution would be to separate the emission / checking
of undefined variable from marking the variables as consumed.

Close #3445

10971 of 12259 relevant lines covered (89.49%)

0.89 hits per line

Source Files on job 3828.10 (TOXENV=pypy)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3151
  • Travis Job 3828.10
  • c5181886 on github
  • Prev Job for TOXENV=pypy on master (#3827.10)
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