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

PyCQA / pylint / 4444
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: maintenance/2.15.x
DEFAULT BRANCH: main
Ran 16 Nov 2020 06:48AM UTC
Jobs 5
Files 89
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
4444

push

travis-ci

Pierre-Sassoulas
Avoid doing a regex search for line lengths unless necessary

Before this change, we would check a line for pylint: disable-style
pragmas to determine whether to check the line length. The regex
check itself is very costly (~5% of pylint's total runtime in one
codebase), and is much more costly than the check itself.

This refactors the pylint check to instead do an approximate line
length check on everything, before using the regex to handle
exceptional, false negative cases like pragmas being the cause for the line length
overflow.

This change, in one sample codebase, lowered the check_lines
runtime from 5% of the total runtime to 0.35% of the total runtime

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

11352 of 12500 relevant lines covered (90.82%)

4.48 hits per line

Jobs
ID Job ID Ran Files Coverage
6 4444.6 (TOXENV=py35) 16 Nov 2020 06:48AM UTC 0
90.42
Travis Job 4444.6
7 4444.7 (TOXENV=py36) 16 Nov 2020 06:48AM UTC 0
90.6
Travis Job 4444.7
8 4444.8 (TOXENV=py37) 16 Nov 2020 06:48AM UTC 0
90.67
Travis Job 4444.8
9 4444.9 (TOXENV=py38) 16 Nov 2020 06:48AM UTC 0
90.84
Travis Job 4444.9
10 4444.10 (TOXENV=pypy) 16 Nov 2020 06:56AM UTC 0
89.85
Travis Job 4444.10
Source Files on build 4444
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4444
  • 9a5e1b34 on github
  • Prev Build on master (#4426)
  • Next Build on master (#4456)
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