Hello,
I am currently working a bit on type-hint support for mfusepy among others and saw that this project already depends on it and unfortunately does not pin the major version:
It should be mfusepy ~= 1.0 to avoid breaking your project when I relase version 2.0.
In particular, I was gonna remove the indirection through Operations.__call__ because I don't see the use of it and it looks not idiomatic. Decorators should get you the same results. In particular, this means that LoggingMixIn, which uses __call__ would be removed. Most of its functionality can also be achieved with -o debug although at a slightly different abstraction layer. Do you need the LoggingMixin functionality or did you just accidentally copy-paste it from the examples?
|
class RomFSMount(LoggingMixIn, Operations): |
Hello,
I am currently working a bit on type-hint support for mfusepy among others and saw that this project already depends on it and unfortunately does not pin the major version:
ninfs/pyproject.toml
Line 32 in 8a5a02c
It should be
mfusepy ~= 1.0to avoid breaking your project when I relase version 2.0.In particular, I was gonna remove the indirection through
Operations.__call__because I don't see the use of it and it looks not idiomatic. Decorators should get you the same results. In particular, this means thatLoggingMixIn, which uses__call__would be removed. Most of its functionality can also be achieved with-o debugalthough at a slightly different abstraction layer. Do you need theLoggingMixinfunctionality or did you just accidentally copy-paste it from the examples?ninfs/ninfs/mount/romfs.py
Line 24 in 8a5a02c