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

PyCQA / astroid / 1585
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: regex-brain
DEFAULT BRANCH: main
Ran 26 Nov 2019 07:43AM UTC
Jobs 5
Files 284
Run time 2min
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
1585

push

travis-ci

PCManticore
Avoid a call to `getcwd` if it is not needed

When profiling locally, approximately 7% of a full pylint run is spent in `os.getcwd`, despite its value effectively not being used if `context_file` is `None`.  A quick grep over this project and others seem to indicate that `context_file` is rarely used, so this should almost entirely get rid of this system call.

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

29793 of 33194 relevant lines covered (89.75%)

4.45 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1585.3 (TOXENV=py35) 26 Nov 2019 07:43AM UTC 0
88.22
Travis Job 1585.3
4 1585.4 (TOXENV=pypy) 26 Nov 2019 07:45AM UTC 0
87.72
Travis Job 1585.4
5 1585.5 (TOXENV=py36) 26 Nov 2019 07:43AM UTC 0
89.55
Travis Job 1585.5
6 1585.6 (TOXENV=py37) 26 Nov 2019 07:44AM UTC 0
89.49
Travis Job 1585.6
7 1585.7 (TOXENV=py38) 26 Nov 2019 07:45AM UTC 0
89.99
Travis Job 1585.7
Source Files on build 1585
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1585
  • 5cdefb0d on github
  • Prev Build on master (#1583)
  • Next Build on master (#1586)
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

© 2025 Coveralls, Inc