]> git.openstreetmap.org Git - nominatim.git/blob - .pylintrc
fix liniting issues and add type annotations
[nominatim.git] / .pylintrc
1 [MASTER]
2
3 extension-pkg-whitelist=osmium,falcon
4 ignored-modules=icu,datrie
5
6 [MESSAGES CONTROL]
7
8 [TYPECHECK]
9
10 # closing added here because it sometimes triggers a false positive with
11 # 'with' statements.
12 ignored-classes=NominatimArgs,closing
13 # 'too-many-ancestors' is triggered already by deriving from UserDict
14 # 'not-context-manager' disabled because it causes false positives once
15 #   typed Python is enabled. See also https://github.com/PyCQA/pylint/issues/5273
16 disable=too-few-public-methods,duplicate-code,too-many-ancestors,bad-option-value,no-self-use,not-context-manager
17
18 good-names=i,x,y,m,fd,db,cc