Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove module level global statement #34

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

deepsource-autofix[bot]
Copy link
Contributor

The global statement is used to specify that the assignment to that name is an assignment to the variable in the global (module) scope, rather than in the local scope. At the module level, this statement is redundant because the local scope and global scope are the same. It is recommended to remove the global statement.

The global statement is used to specify that the assignment to that name is an assignment to the variable in the global (module) scope, rather than in the local scope. At the module level, this statement is redundant because the local scope and global scope are the same. It is recommended to remove the `global` statement.
@wling-art wling-art merged commit b66f389 into main Jan 9, 2024
1 check passed
@wling-art wling-art deleted the deepsource-autofix-a0c1910f branch January 9, 2024 20:53
wling-art pushed a commit that referenced this pull request Oct 19, 2024
The global statement is used to specify that the assignment to that name is an assignment to the variable in the global (module) scope, rather than in the local scope. At the module level, this statement is redundant because the local scope and global scope are the same. It is recommended to remove the `global` statement.

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant