Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

(PYL-W0612) Unused variable found #138

Closed
ggirelli opened this issue Oct 19, 2021 · 3 comments
Closed

(PYL-W0612) Unused variable found #138

ggirelli opened this issue Oct 19, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request hacktoberfest

Comments

@ggirelli
Copy link
Owner

Description

An unused variable takes up space in the code, and can lead to confusion, and it should be removed. If this variable is necessary, name the variable _ to indicate that it will be unused, or start the name with unused or _unused.

Occurrences

There are 33 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/ggirelli/fastx-barber/issue/PYL-W0612/occurrences/

@ggirelli ggirelli added enhancement New feature or request hacktoberfest labels Oct 19, 2021
@sotiriszogos
Copy link

Hello, could you assign me?

@ggirelli
Copy link
Owner Author

@sotiriszogos there you go :)

ggirelli added a commit that referenced this issue Oct 28, 2021
* Removed unused variables

* Fixes for the unused code

* Fixed style issues

* Update flag_extract.py

* Fixed indentation

* Removed empty line

Co-authored-by: Gabriele Girelli <gigi.ga90@gmail.com>
ggirelli added a commit that referenced this issue Oct 28, 2021
* fix: removed unused variables #138 (#146)

* Removed unused variables

* Fixes for the unused code

* Fixed style issues

* Update flag_extract.py

* Fixed indentation

* Removed empty line

Co-authored-by: Gabriele Girelli <gigi.ga90@gmail.com>

* Format code with black

* Masked another unused variable

Co-authored-by: sotiriszogos <45464851+sotiriszogos@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
@ggirelli
Copy link
Owner Author

Thank you for your contribution! This issue is officially fixed 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request hacktoberfest
Projects
Archived in project
Development

No branches or pull requests

2 participants