Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish code for unused modules and variables #5

Open
gregorgorjanc opened this issue Jul 13, 2023 · 0 comments
Open

Polish code for unused modules and variables #5

gregorgorjanc opened this issue Jul 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@gregorgorjanc
Copy link
Member

In AlphaGenes/AlphaPeel#40 (comment) @XingerTang reported this flake8 output indicating code polish we should do at some point;)

setup.py:1:1: F401 'setuptools.Extension' imported but unused
setup.py:1:1: F401 'setuptools.find_packages' imported but unused
src/tinypeel/Peeling/Peeling.py:1:1: F401 'concurrent.futures' imported but unused
src/tinypeel/Peeling/Peeling.py:2:1: F401 'numba.int8' imported but unused
src/tinypeel/Peeling/Peeling.py:2:1: F401 'numba.int64' imported but unused
src/tinypeel/Peeling/Peeling.py:2:1: F401 'numba.optional' imported but unused
src/tinypeel/Peeling/Peeling.py:2:1: F401 'numba.boolean' imported but unused
src/tinypeel/Peeling/Peeling.py:3:1: F401 'numba.experimental.jitclass' imported but unused
src/tinypeel/Peeling/Peeling.py:5:1: F401 'collections.OrderedDict' imported but unused
src/tinypeel/Peeling/Peeling.py:7:1: F401 '..tinyhouse.InputOutput' imported but unused
src/tinypeel/Peeling/Peeling.py:8:1: F401 '..tinyhouse.ProbMath' imported but unused
src/tinypeel/Peeling/Peeling.py:9:1: F401 '..tinyhouse.HaplotypeOperations' imported but unused
src/tinypeel/Peeling/Peeling.py:11:1: F401 'math' imported but unused
src/tinypeel/Peeling/Peeling.py:30:5: F841 local variable 'e16' is assigned to but never used
src/tinypeel/Peeling/PeelingInfo.py:1:1: F401 'concurrent.futures' imported but unused
src/tinypeel/Peeling/PeelingInfo.py:2:1: F401 'numba.int8' imported but unused
src/tinypeel/Peeling/PeelingInfo.py:7:1: F401 '..tinyhouse.InputOutput' imported but unused
src/tinypeel/Peeling/PeelingInfo.py:11:1: F401 'math' imported but unused
src/tinypeel/Peeling/PeelingInfo.py:163:5: F841 local variable 'changed' is assigned to but never used
src/tinypeel/Peeling/PeelingUpdates.py:1:1: F401 'concurrent.futures' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:2:1: F401 'numba.float32' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:2:1: F401 'numba.int8' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:2:1: F401 'numba.int64' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:2:1: F401 'numba.optional' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:2:1: F401 'numba.boolean' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:3:1: F401 'numba.experimental.jitclass' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:5:1: F401 'collections.OrderedDict' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:9:1: F401 '..tinyhouse.HaplotypeOperations' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:13:1: F401 'math' imported but unused
src/tinypeel/Peeling/PeelingUpdates.py:255:5: F821 undefined name 'setupTransmission'
src/tinypeel/Peeling/PeelingUpdates.py:272:5: F841 local variable 'patValid' is assigned to but never used
src/tinypeel/tinypeel.py:2:1: F401 'numba.jit' imported but unused
src/tinypeel/tinypeel.py:2:1: F401 'numba.float32' imported but unused
src/tinypeel/tinypeel.py:2:1: F401 'numba.int32' imported but unused
src/tinypeel/tinypeel.py:2:1: F401 'numba.int64' imported but unused
src/tinypeel/tinypeel.py:2:1: F401 'numba.optional' imported but unused
src/tinypeel/tinypeel.py:3:1: F401 'numba.experimental.jitclass' imported but unused
src/tinypeel/tinypeel.py:6:1: F401 '.tinyhouse.ProbMath' imported but unused
src/tinypeel/tinypeel.py:68:17: F841 local variable 'results' is assigned to but never used
src/tinypeel/tinypeel.py:194:5: F841 local variable 'segInfo' is assigned to but never used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant