]> git.openstreetmap.org Git - nominatim.git/blob - .pylintrc
avoid issues with Python < 3.9 and linting
[nominatim.git] / .pylintrc
1 [MASTER]
2
3 extension-pkg-whitelist=osmium
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,fd,db,cc