Closed approxit closed 1 year ago
hmm, given that we don't treat the examples as modules but rather self-contained scripts, I'm unsure why we'd need __init__
files in there... ?
Regarding __init__.py
in examples and tests, I've commented at the very begining that it was added to satisfy mypy
, because it encounter errors about loading files without __init__.py
. I could reconfigure mypy to check specific list of directories, instead of whole codebase.
Regarding property docs - change was made to satisfy pydocstyle - should we fight with this?
Bucke up folks, massive diff is comming!
What I've done:
mypy
version to be able to install other dependenciespyproject-autoflake
because for some reason at current setupautoflake
was not picking up config frompyproject.toml
flake8
errors and fewmypy
paths, this should be done as separate work__init__.py
files into examples and tests to satisfymypy
.mypy
(as they are now python packages).Changes are mostly related to formatting or small fixes such as specifying exception types in
except
blocks, changing==
tois
forNone
values, etc.