我一直在 Windows 中使用 PyLint 并进行如下配置:
pylint \
--good-names ('i','el','of','df','pd','Entity') \
--bad-names ('foo','bar','kek','KEK') \
module
Run Code Online (Sandbox Code Playgroud)
但在 Ubuntu 上,我在尝试解析好名称参数时遇到异常('i','el', ...):
/bin/bash: -c: line 6: syntax error near unexpected token `('
Run Code Online (Sandbox Code Playgroud)
在 ubuntu 上提供此类不常见参数的正确方法是什么?