遇到
arguments-differ
编写自定义python时来自pylint的警告
codec
class mycodec(codecs.Codec):
def encode(self, inp, errors='strict'):
pass
派林特正在抱怨宣布
def encode()
. 我知道我可以让警告静音,但这似乎是pylint中一个相当简单的bug,不是吗?
> pylint --version
pylint 2.4.2
astroid 2.3.1
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]