Closed Poikilos closed 3 months ago
Fixed by #37. References needed to be to self
variables.
self
are fixed, butmessagePart
is still an undefined variable (used once in main branch, used twice in fixme_once branch). It should probably be either messageBytes
or data
but I'm not sure which way to slice it to get the slice you need. See my comment here: https://github.com/bobjacobsen/PythonOlcbNode/pull/37/files#diff-9474f6df2b760fe74408ef60dfb0e149d22e38696bd49de34ea006a5c299ed53L149You can still see it (issue #33) with either VSCode, or on CLI (Terminal) with:
python -m pip install flake8
cd PythonOlcbNode
python -m flake8 --ignore=E203,E226,E701,E202,E222,E221,W503,E241 --per-file-ignores="test_all.py:F401,E402,F403"
--ignore
arg value mimics the settings in the vscode project file which ignore your spacing styles which are not causing actual issues nor seem to cause readability issues.--per-file-ignores
arg value ignores several instances of "E402 module level import not at top of file" and "...import *' used; unable to detect undefined name" which also don't cause actual issues (could prevent a linter such as flake8 or pylance from identifying undefined names properly but aren't relevant in this case since they are only importing tests).
I'm not sure which variable should be sliced as noted in comment. The comment is added in https://github.com/bobjacobsen/PythonOlcbNode/pull/32 but the issue predates the PR.