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

PyCQA / pylint / 2249
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 04 Jun 2018 08:29PM UTC
Jobs 5
Files 55
Run time 7min
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
2249

push

travis-ci

PCManticore
`len-as-condition` recognize more cases (#2165)

This patch adds lints for two more cases:
1) `if len(X) < 1:`
2) `if len(X) <= 0:`

Meaning of the both is same as `if not X`.

Signed-off-by: Matej Marusak <mmarusak@redhat.com>

8 of 8 new or added lines in 1 file covered. (100.0%)

10125 of 11226 relevant lines covered (90.19%)

4.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2249.1 (TOXENV=py34) 04 Jun 2018 08:29PM UTC 0
89.81
Travis Job 2249.1
2 2249.2 (TOXENV=py35) 04 Jun 2018 08:29PM UTC 0
89.91
Travis Job 2249.2
3 2249.3 (TOXENV=py36) 04 Jun 2018 08:29PM UTC 0
90.01
Travis Job 2249.3
4 2249.4 (TOXENV=pypy) 04 Jun 2018 08:35PM UTC 0
89.6
Travis Job 2249.4
5 2249.5 (TOXENV=py37) 04 Jun 2018 08:29PM UTC 0
89.92
Travis Job 2249.5
Source Files on build 2249
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2249
  • 20cf1abf on github
  • Prev Build on master (#2247)
  • Next Build on master (#2254)
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