Skip to content

skpkg: variable name cutted failing CI (codespell) #83

@tinatn29

Description

@tinatn29

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions