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

PyCQA / astroid / 1585 / 4
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: regex-brain
DEFAULT BRANCH: main
Ran 26 Nov 2019 07:45AM UTC
Files 71
Run time 3s
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

26 Nov 2019 07:41AM UTC coverage: 87.721% (-0.02%) from 87.744%
TOXENV=pypy

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.

7280 of 8299 relevant lines covered (87.72%)

0.88 hits per line

Source Files on job 1585.4 (TOXENV=pypy)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1157
  • Travis Job 1585.4
  • 5cdefb0d on github
  • Prev Job for TOXENV=pypy on master (#1583.4)
  • Next Job for TOXENV=pypy on master (#1586.4)
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