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

PyCQA / pylint / 2842 / 5
92%
main: 95%

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

21 Dec 2018 08:08AM UTC coverage: 89.402% (+0.007%) from 89.395%
TOXENV=py34

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.

10410 of 11644 relevant lines covered (89.4%)

0.89 hits per line

Source Files on job 2842.5 (TOXENV=py34)
  • Tree
  • List 0
  • Changed 13
  • Source Changed 13
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2466
  • Travis Job 2842.5
  • 5a86fddc on github
  • Prev Job for TOXENV=py34 on master (#2839.5)
  • Next Job for TOXENV=py34 on master (#2849.5)
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