You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JonJagger
changed the title
Increase the cases detected by W0102 dangerous-default-value ?
Increase the cases detected by (W0102) dangerous-default-value ?
Feb 14, 2024
JonJagger
changed the title
Increase the cases detected by (W0102) dangerous-default-value ?
Increase the cases detected by dangerous-default-value (W0102) ?
Feb 14, 2024
Current problem
W0102 detects a default value such as
[ ]
For example, from the docs:
Consider the following example:
Is it reasonable that any default expression that is a function call
should be detected as a dangerous-default-value / dangerous-default-expression ?
P.S. pylint is great :-)
Desired solution
Any default expression that is a function call is detected as a dangerous-default-value / dangerous-default-expression
Additional context
No response
The text was updated successfully, but these errors were encountered: