]> git.openstreetmap.org Git - nominatim.git/blob - .pylintrc
Merge pull request #3503 from lonvia/mkdocs-without-cmake
[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,use-dict-literal,chained-comparison,attribute-defined-outside-init,too-many-boolean-expressions,contextmanager-generator-missing-cleanup
17
18 good-names=i,j,x,y,m,t,fd,db,cc,x1,x2,y1,y2,pt,k,v,nr
19
20 [DESIGN]
21
22 max-returns=7