Closed dolfinus closed 1 year ago
Merging #234 (71ea74c) into master (b81d5f1) will increase coverage by
0.00%
. Report is 1 commits behind head on master. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #234 +/- ##
=======================================
Coverage 99.07% 99.07%
=======================================
Files 24 24
Lines 5085 5088 +3
=======================================
+ Hits 5038 5041 +3
Misses 47 47
Flag | Coverage Δ | |
---|---|---|
99.07% <100.00%> (+<0.01%) |
:arrow_up: | |
py3.10 | 99.03% <99.42%> (+<0.01%) |
:arrow_up: |
py3.11 | 99.03% <99.42%> (+<0.01%) |
:arrow_up: |
py3.7 | 99.02% <99.36%> (+<0.01%) |
:arrow_up: |
py3.8 | 99.03% <99.42%> (+<0.01%) |
:arrow_up: |
py3.9 | 99.07% <100.00%> (+<0.01%) |
:arrow_up: |
x64 | 99.07% <100.00%> (+<0.01%) |
:arrow_up: |
x86 | 98.99% <99.42%> (+<0.01%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Files Changed | Coverage Δ | |
---|---|---|
src/smbclient/__init__.py | 100.00% <ø> (ø) |
|
src/smbclient/path.py | 90.69% <ø> (ø) |
|
src/smbprotocol/__init__.py | 100.00% <ø> (ø) |
|
src/smbprotocol/_text.py | 100.00% <ø> (ø) |
|
src/smbprotocol/create_contexts.py | 100.00% <ø> (ø) |
|
src/smbprotocol/file_info.py | 100.00% <ø> (ø) |
|
src/smbprotocol/header.py | 100.00% <ø> (ø) |
|
src/smbprotocol/ioctl.py | 100.00% <ø> (ø) |
|
src/smbprotocol/open.py | 100.00% <ø> (ø) |
|
src/smbprotocol/query_info.py | 100.00% <ø> (ø) |
|
... and 14 more |
pyupgrade --py37-plus ./**/*.py
to upgrade Python 2.7 syntax to 3.7+%s
and.format()
syntax with f-strings%s
string syntax, but without explicit"msg" % (variables,)
- letlogging
do this if logging is enabled for a specific level# type
comments to type hints, replaceList[type]
,Optional[type]
andUnion[type1, type2]
withlist[type]
,type | None
andtype1 | type2
(usingfrom __future__ import annotations
).os.fspath
instead ofstr
to convert Path-like objects to string path representationprint