Closed draftcode closed 3 years ago
This evening I'll be checking this, but if I remember it right it was fixed in one of the previous PRs.
Merging #84 (ecd9b53) into master (f581e56) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #84 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 10
Lines 315 315
=========================================
Hits 315 315
Impacted Files | Coverage Δ | |
---|---|---|
language_formatters_pre_commit_hooks/utils.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f581e56...ecd9b53. Read the comment docs.
No rush. Please check on your side as well. I found this issue on master, and with this patch (and the other dependency fix that you've already merged), I confirmed this works.
os.rename fails when the source and destination are in the different filesystem. shutil.move takes care of that difference.
Fixes https://github.com/macisamuele/language-formatters-pre-commit-hooks/issues/82