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

mbj4668 / pyang / 702
76%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2020 05:30PM UTC
Jobs 3
Files 0
Run time –
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

mbj4668
Do not create closures using variables changed in loops

In short, if a function is created and refers to an outside variable,
 the last value of that variable will be used, even if set afterwards.

I.e. when a validation function is set for multiple keywords which
already had a validation function, the previous implementation would
create new functions calling an original and the added function.
Given that the original function was set as a variable in a loop,
when called, each of the new functions would call the original function
of the last keyword in the list, and not the original for its keyword.

https://github.com/PyCQA/pylint/blob/master/pylint/checkers/variables.py#L469
Jobs
ID Job ID Ran Files Coverage
1 702.1 29 Jan 2020 05:30PM UTC 0
Travis Job 702.1
2 702.2 29 Jan 2020 05:31PM UTC 0
Travis Job 702.2
3 702.3 29 Jan 2020 05:30PM UTC 0
Travis Job 702.3
Source Files on build 702
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #702
  • e97bba8f on github
  • Prev Build on master (#699)
  • Next Build on master (#704)
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