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

psss / did
68%
master: 79%

Build:
Build:
LAST BUILD BRANCH: fix-up-jira
DEFAULT BRANCH: master
Repo Added 07 Sep 2015 07:38PM UTC
Files 1
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

LAST BUILD ON BRANCH fix.log_load
branch: fix.log_load
CHANGE BRANCH
x
Reset
  • fix.log_load
  • 0.10
  • 0.11
  • 0.12
  • 0.13
  • 0.14
  • 0.16
  • 0.5
  • 0.6
  • 0.7
  • 0.8
  • 0.9
  • devel
  • feat.argparse.clean
  • feat.argparse.cleaner
  • feat.invoke.bob
  • master
  • packit
  • python2
  • python3
  • weird
  • working

pending completion
283

push

travis-ci

kejbaly2
don't create new Logging instance uncessarily

Minor thing; why call utils.Logging("did") instead of just caching that logger into the namespace and calling the (more) locally scoped variable?
cli.py

lines
    20 from did.utils import log
...
```
 39         # Enable debugging output (even before options are parsed)
 40         if "--debug" in sys.argv:
 41             utils.Logging("did").set(utils.LOG_DEBUG)
```

did.utils.log is utils.Logging("did").logger

What about

```
 39         # Enable debugging output (even before options are parsed)
 40         if "--debug" in sys.argv:
 41             utils.Logging("did").set(utils.LOG_DEBUG)
```

1058 of 1557 relevant lines covered (67.95%)

1.36 hits per line

Relevant lines Covered
Build:
Build:
1557 RELEVANT LINES 1058 COVERED LINES
1.36 HITS PER LINE
Source Files on fix.log_load
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
283 fix.log_load don't create new Logging instance uncessarily Minor thing; why call utils.Logging("did") instead of just caching that logger into the namespace and calling the (more) locally scoped variable? cli.py lines 20 from did.utils import log ... ```... push 28 Sep 2015 08:04PM UTC kejbaly2 travis-ci pending completion  
See All Builds (418)
  • Repo on GitHub
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