Skip to content

Fix all flake8 B008 issues#950

Merged
ajax146 merged 1 commit intomainfrom
flake8-B008
Apr 17, 2024
Merged

Fix all flake8 B008 issues#950
ajax146 merged 1 commit intomainfrom
flake8-B008

Conversation

@ajax146
Copy link
Contributor

@ajax146 ajax146 commented Apr 17, 2024

B008: Do not perform function calls in argument defaults. The call is performed only once at function definition time. All calls to your function will reuse the result of that definition-time function call. If this is intended, assign the function call to a module-level variable and use that variable as a default value.

1 issue
./techsupport_bot/core/auxiliary.py:18:28: B008 Do not perform function calls in argument defaults. The call is performed only once at function definition time. All calls to your function will reuse the result of that definition-time function call. If this is intended, assign the function call to a module-level variable and use that variable as a default value.

@ajax146 ajax146 merged commit a5d45ab into main Apr 17, 2024
@ajax146 ajax146 deleted the flake8-B008 branch May 7, 2024 21:31
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