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

PyCQA / pylint / 2768
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 23 Nov 2018 12:44PM UTC
Jobs 5
Files 55
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
2768

push

travis-ci

PCManticore
Fixed literal-comparison for the case of 0 and 1 (#2601)

Prior to this commit literal-comparison did not fire for the following
comparisons

    x is 0
    x is 1

due to a subtle bug in the checker implementation. The skip condition
in the ``ComparisonChecker._check_literal_comparison`` was

    literal.value in (True, False, None)

which holds for True/False/None _as well as_ 0 and 1, since 0 == False
and 1 == True.

10374 of 11567 relevant lines covered (89.69%)

4.47 hits per line

Jobs
ID Job ID Ran Files Coverage
5 2768.5 (TOXENV=py34) 23 Nov 2018 12:45PM UTC 0
89.29
Travis Job 2768.5
6 2768.6 (TOXENV=py35) 23 Nov 2018 12:45PM UTC 0
89.38
Travis Job 2768.6
7 2768.7 (TOXENV=py36) 23 Nov 2018 12:44PM UTC 0
89.53
Travis Job 2768.7
8 2768.8 (TOXENV=py37) 23 Nov 2018 12:44PM UTC 0
89.47
Travis Job 2768.8
10 2768.10 (TOXENV=pypy) 23 Nov 2018 12:53PM UTC 0
89.09
Travis Job 2768.10
Source Files on build 2768
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2768
  • bc25da26 on github
  • Prev Build on master (#2762)
  • Next Build on master (#2769)
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