apple / apple/GCGC

Unused imports and dead local variable across graphing modules

Open Beginner friendly
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
455
Forks
48
Avg merge
4m
Merged PRs (30d)
2

Description

Reported by pyflakes, all harmless but worth clearing:

- src/graphing/heatmap.py:200 — import pandas as pd unused
- src/graphing/heatmap.py:370 — local max_pause_ms assigned, never used
- src/graphing/plotting.py:8 — from os import times unused
- src/graphing/plotting.py:9 — re-imports plt, already imported at line 6
- src/graphing/summary.py:5 — from os import times unused
- src/graphing/summary.py:6 — import pandas as pd unused

The duplicated from os import times in two files suggests a copy-paste that was
never intentional.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the reported lines in src/graphing/heatmap.py, src/graphing/plotting.py, and src/graphing/summary.py. Start by running pyflakes against these graphing modules, remove only the listed unused imports, duplicate import, and unused local variable, then run pyflakes again to confirm the reported findings are gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.