Closed bluenote10 closed 4 years ago
Merging #5 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #5 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 195 195
Branches 27 32 +5
=========================================
Hits 195 195
Impacted Files | Coverage Δ | |
---|---|---|
src/dirhash/__init__.py | 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 7979f55...347dc27. Read the comment docs.
The
__init__.py
currently contains a broken character (0xc2
) at end of line 81, which means that the file has a broken encoding and cannot be imported directly. For instance if you try runningpython src/dirhash/__init__.py
in the repository root, you get:This issue is typically hidden by the fact that when you do
pip install dirhash
pip internally usespy_compile
to compile a.pyc
corresponding to the__init__.py
, andpy_compile
ignores broken file encodings. However if you delete the.pyc
from the site packages directory you'd also be unable toimport dirhash
, because it actually has to properly parse the.py
file.This issue is causing quite some trouble when using an automatic
.pyc
clean up strategy. Would it be possible to release a 0.2.1 version containing this fix?