Skip to content

Commit 28f9b16

Browse files
authored
Fix interrogate badge in README (#45)
1 parent 10d874f commit 28f9b16

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![Downloads](https://img.shields.io/pypi/dd/codetiming)](https://pypi.org/project/codetiming/)
88
[![Tests](https://img.shields.io/github/workflow/status/realpython/codetiming/unit_tests?label=tests)](https://github.com/realpython/codetiming/actions)
99
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
10-
[![Interrogate DocStrings](https://github.com/realpython/codetiming/blob/master/interrogate_badge.svg)](https://interrogate.readthedocs.io/)
10+
[![Interrogate DocStrings](https://raw.githubusercontent.com/realpython/codetiming/main/interrogate_badge.svg)](https://interrogate.readthedocs.io/)
1111
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
1212
[![MIT license](https://img.shields.io/pypi/l/codetiming)](https://mit-license.org/)
1313

@@ -89,7 +89,6 @@ t2 = Timer(text=lambda secs: f"Elapsed time: {format_timespan(secs)}")
8989
```
9090

9191

92-
9392
## Capturing the Elapsed Time
9493

9594
When using `Timer` as a class, you can capture the elapsed time when calling `.stop()`:
@@ -122,7 +121,7 @@ WARNING:root:Time spent: 3.58
122121
3.5836678670002584
123122

124123
>>> with t:
125-
... _ = list(range(100000000))
124+
... _ = list(range(100_000_000))
126125
...
127126
WARNING:root:Time spent: 1.73
128127

0 commit comments

Comments
 (0)