tracklr/__init__.py
changed.
Showing 1 of 1 files from the diff.
@@ -279,10 +279,8 @@
Loading
279 | 279 | self.log.info(key) |
|
280 | 280 | ||
281 | 281 | # 23g, 1024hPa, 30C, ... |
|
282 | - | pattern = re.compile(f"([0-9.]+){key}") |
|
283 | - | matches = find_matches(summary, pattern) |
|
284 | 282 | try: |
|
285 | - | pattern = re.compile(f"([0-9.]+){key}") |
|
283 | + | pattern = re.compile(r"([0-9\.]+){}".format(key)) |
|
286 | 284 | matches = find_matches(summary, pattern) |
|
287 | 285 | except Exception: |
|
288 | 286 | matches = None |
@@ -292,7 +290,7 @@
Loading
292 | 290 | ||
293 | 291 | # #hastags, $monies, @something, ... |
|
294 | 292 | try: |
|
295 | - | pattern = re.compile(f"{key}([a-zA-Z0-9_-.]+)") |
|
293 | + | pattern = re.compile(r"{}([a-zA-Z0-9_\-\.]+)".format(key)) |
|
296 | 294 | return find_matches(summary, pattern) |
|
297 | 295 | except Exception: |
|
298 | 296 | return None |
Files | Coverage |
---|---|
tracklr | 51.10% |
Project Totals (8 files) | 51.10% |
Untitled
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.