Closed iaraota closed 1 year ago
Merging #372 (6eaa3c0) into master (7a3f4d3) will decrease coverage by
0.02%
. The diff coverage is40.91%
.
@@ Coverage Diff @@
## master #372 +/- ##
==========================================
- Coverage 50.29% 50.28% -0.02%
==========================================
Files 60 60
Lines 8669 8690 +21
==========================================
+ Hits 4360 4369 +9
- Misses 4309 4321 +12
Flag | Coverage Δ | |
---|---|---|
Linux | 50.28% <40.91%> (-0.02%) |
:arrow_down: |
python3.10 | 50.28% <40.91%> (-0.02%) |
:arrow_down: |
python3.7 | 49.47% <40.91%> (-0.02%) |
:arrow_down: |
python3.8 | 50.28% <40.91%> (-0.02%) |
:arrow_down: |
python3.9 | 50.28% <40.91%> (-0.02%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
gwsumm/archive.py | 70.67% <40.91%> (-3.12%) |
:arrow_down: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
@iaraota There are a few flake8 errors that you can easily fix. Check the CI test output. Also, is there are particular reason to add the logger here?
If corruption is detected, recover from backup. If no backup is found, delete the corrupted file.
Initialize logger for consistent warning messages throughout the package
Testing
To intentionally corrupt the newly created file, the following code snippet can be used (before the committed script):
To validate the changes, I executed the following steps: