Remove unneeded constants
See original GitHub issueWe used constants.ENABLE_ACCOUNT_DELETION
and constants.ENABLE_ACCOUNT_EXPORT
while we were implementing the deletion and export features. Right now these constants are always set to true
and no longer needed, thus they can be fully removed from the codebase.
Steps to work on this issue:
- Pick one of the constants.
- Search the constant in the codebase and remove it from everywhere.
- Make sure that all tests are passing.
constants.ENABLE_ACCOUNT_DELETION
constants.ENABLE_ACCOUNT_EXPORT
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
How to remove the unused constants from the generated Java ...
and if there's a way to restrict constants only to compile time and have them removed after the class file is generated. java....
Read more >Removing Unused Variables Is Good - Exakat
My favorite code clean is removing unused variables. This is right : variables that are hosted in the code, yet doing nothing.
Read more >Unused local constant - Visual Basic - Microsoft Learn
A local constant has been declared that is not used anywhere in your code. Error ID: BC42099. To remove this warning. This error...
Read more >4.4 Dropping unneeded variables | Data Wrangling Essentials
We will use loc[] to keep all the variables except the obs_num . air_accidents. · The drop() method will drop variables from a...
Read more >DAT-04: Remove unused variables and code - MySQL Stored ...
This is a relatively straightforward process for variables and named constants. Simply execute searches for a variable's name in that variable's scope. If...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @vojtechjelinek! I see it has been plenty of time since the issue was opened and is not closed yet.
If there’s anything available to work on, I’d love to. Thanks.
Is there any task open in this issue? @vojtechjelinek