根据这个pylint-wiki,似乎 2 个字母的变量名是可以的:
变量 variable-rgx [a-z_][a-z0-9_]{2,30}$
但由于某种原因,我收到以下错误:
Variable name "fl" doesn't conform to snake_case naming style (invalid-name)
根据这个pylint-wiki,似乎 2 个字母的变量名是可以的:
变量 variable-rgx [a-z_][a-z0-9_]{2,30}$
但由于某种原因,我收到以下错误:
Variable name "fl" doesn't conform to snake_case naming style (invalid-name)