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

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

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 22 May 2017 12:45PM 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: 89.464% (-0.03%) from 89.493%
TOXENV=py27

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.

9264 of 10355 relevant lines covered (89.46%)

0.89 hits per line

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