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

PyCQA / pylint / 1271
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 22 May 2017 12:45PM UTC
Jobs 6
Files 55
Run time 4min
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
1271

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.

9455 of 10355 relevant lines covered (91.31%)

5.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1271.1 (TOXENV=py27) 22 May 2017 12:45PM UTC 0
89.46
Travis Job 1271.1
2 1271.2 (TOXENV=py33) 22 May 2017 12:46PM UTC 0
88.65
Travis Job 1271.2
3 1271.3 (TOXENV=py34) 22 May 2017 12:45PM UTC 0
88.66
Travis Job 1271.3
4 1271.4 (TOXENV=py35) 22 May 2017 12:46PM UTC 0
88.78
Travis Job 1271.4
5 1271.5 (TOXENV=py36) 22 May 2017 12:46PM UTC 0
88.79
Travis Job 1271.5
6 1271.6 (TOXENV=pypy) 22 May 2017 12:50PM UTC 0
89.5
Travis Job 1271.6
Source Files on build 1271
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1271
  • d03b949b on github
  • Prev Build on master (#1262)
  • Next Build on master (#1272)
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