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

PyCQA / pylint / 2842
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 21 Dec 2018 08:14AM 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
2842

push

travis-ci

PCManticore
Generalize `chained-comparison` (#2655)

`chained-comparison` detects boolean expressions such as `a < b and b < c` and suggests
it should be rewritten as `a < b < c`.

The current implementation is limited in two ways. First, cannot deal with existing chain
comparisons, so it would not detect the following:
    `a < b < c and c < d` # should be a < b < c < d

Second, the algorithm for detecting possible chains is simplistic, and would falsely
detect the following:

    `a < b < c and b < d` # no simplification possible

This change fixes both of these issues.

10456 of 11644 relevant lines covered (89.8%)

4.47 hits per line

Jobs
ID Job ID Ran Files Coverage
5 2842.5 (TOXENV=py34) 21 Dec 2018 08:14AM UTC 0
89.4
Travis Job 2842.5
6 2842.6 (TOXENV=py35) 21 Dec 2018 08:14AM UTC 0
89.51
Travis Job 2842.6
7 2842.7 (TOXENV=py36) 21 Dec 2018 08:14AM UTC 0
89.63
Travis Job 2842.7
8 2842.8 (TOXENV=py37) 21 Dec 2018 08:14AM UTC 0
89.58
Travis Job 2842.8
10 2842.10 (TOXENV=pypy) 21 Dec 2018 08:23AM UTC 0
89.19
Travis Job 2842.10
Source Files on build 2842
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2842
  • 5a86fddc on github
  • Prev Build on master (#2839)
  • Next Build on master (#2849)
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