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

PyCQA / pylint / 1271 / 2
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 22 May 2017 12:46PM UTC
Files 55
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

22 May 2017 12:42PM UTC coverage: 88.653%. Remained the same
TOXENV=py33

push

travis-ci

PCManticore
Use the full filename for identifying __init__.py. (#1461)

Previously, `pylint.utils.expand_modules` identified `__init__.py` files by a
substring match, which led to false positives for files with names like
`flycheck__init__.py`. (While users are unlikely to choose such a filename,
tools like flycheck use these sorts of filenames for temporary files.)

The result was that `pylint` would end up linting the entire package, not just
the file in question.

The fix is straightforward -- we use `os.path.basename` instead of a substring
check, and add a test.

9180 of 10355 relevant lines covered (88.65%)

0.89 hits per line

Source Files on job 1271.2 (TOXENV=py33)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1271
  • Travis Job 1271.2
  • d03b949b on github
  • Prev Job for TOXENV=py33 on master (#1262.2)
  • Next Job for TOXENV=py33 on master (#1272.2)
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