适用于 Python 的 Microsoft 语言服务器
| 代码 | 描述 |
|---|---|
inherit-non-class |
尝试继承非类的对象。 |
too-many-function-arguments |
向函数调用提供了太多参数。 |
too-many-positional-arguments-before-star |
在星号参数之前提供了太多参数。 |
no-cls-argument |
类方法的第一个参数必须为 cls。 |
no-method-argument |
方法没有参数。 |
no-self-argument |
方法的第一个参数必须为 self。 |
parameter-already-specified |
此名称的参数已被指定过。 |
parameter-missing |
缺少必需的位置参数。 |
positional-argument-after-keyword |
在关键字参数之后提供了位置参数。 |
positional-only-named |
在函数调用中为位置参数指定了名称。 |
return-in-init |
在 __init__ 函数中遇到了显式的返回语句。 |
typing-generic-arguments |
构造 Generic 时发生了错误。 |
typing-newtype-arguments |
构造 NewType 时发生了错误。 |
typing-typevar-arguments |
构造 TypeVar 时发生了错误。 |
unknown-parameter-name |
提供的关键字参数名称未知。 |
unresolved-import |
无法解析导入,可能缺失。 |
undefined-v |
未定义变量 v。 |
暂无开放 Issues,或尚未同步最近议题。