Open
Description
Problem
A variable named in fourigui.py is failing codespell at pre-commit/CI.
codespell................................................................Failed
- hook id: codespell
- exit code: 65
src/diffpy/fourigui/fourigui.py:33: cutted ==> cutter, gutted, cut
src/diffpy/fourigui/fourigui.py:361: cutted ==> cutter, gutted, cut
src/diffpy/fourigui/fourigui.py:522: cutted ==> cutter, gutted, cut
src/diffpy/fourigui/fourigui.py:556: cutted ==> cutter, gutted, cut
src/diffpy/fourigui/fourigui.py:588: cutted ==> cutter, gutted, cut
tests/test_fourigui.py:21: cutted ==> cutter, gutted, cut
tests/test_fourigui.py:84: cutted ==> cutter, gutted, cut
tests/test_fourigui.py:173: cutted ==> cutter, gutted, cut
tests/test_fourigui.py:232: cutted ==> cutter, gutted, cut
This is where it was defined
self.cutted = (
False # denotes whether cutoff frequencies are applied to dataset
Proposed solution
change the variable name in fourigui.py
and tests/test_fourigui.py
to truncated
Metadata
Metadata
Assignees
Labels
No labels