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

PyCQA / pylint / 3828
92%
main: 95%

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

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

11170 of 12366 relevant lines covered (90.33%)

4.45 hits per line

Jobs
ID Job ID Ran Files Coverage
6 3828.6 (TOXENV=py35) 25 Mar 2020 08:33AM UTC 0
89.95
Travis Job 3828.6
7 3828.7 (TOXENV=py36) 25 Mar 2020 08:32AM UTC 0
90.2
Travis Job 3828.7
8 3828.8 (TOXENV=py37) 25 Mar 2020 08:32AM UTC 0
90.27
Travis Job 3828.8
9 3828.9 (TOXENV=py38) 25 Mar 2020 08:33AM UTC 0
90.46
Travis Job 3828.9
10 3828.10 (TOXENV=pypy) 25 Mar 2020 08:41AM UTC 0
89.49
Travis Job 3828.10
Source Files on build 3828
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3828
  • c5181886 on github
  • Prev Build on master (#3827)
  • Next Build on master (#3829)
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