mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

Pylint is no longer able to detect available members in the generated protobuf files, so we need to exclude them from processing. This should not be a problem as we get these checks from mypy already, and as a bonus we no longer need to exclude protobuf classes manually. The fact that anki.sync_pb2 needs to be added after the wildcard appears to be a bug.
27 lines
534 B
INI
27 lines
534 B
INI
[MASTER]
|
|
persistent = no
|
|
extension-pkg-whitelist=PyQt6
|
|
ignore = forms,hooks_gen.py
|
|
|
|
[TYPECHECK]
|
|
ignored-modules=win32file,pywintypes,socket,win32pipe,winrt,pyaudio,anki.scheduler_pb2
|
|
|
|
[REPORTS]
|
|
output-format=colorized
|
|
|
|
[MESSAGES CONTROL]
|
|
disable=C,R,
|
|
fixme,
|
|
unused-wildcard-import,
|
|
attribute-defined-outside-init,
|
|
redefined-builtin,
|
|
wildcard-import,
|
|
broad-except,
|
|
bare-except,
|
|
unused-argument,
|
|
unused-variable,
|
|
redefined-outer-name,
|
|
global-statement,
|
|
protected-access,
|
|
arguments-differ,
|
|
arguments-renamed,
|