mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 13:54:07 +00:00
pylint: disable no-self-use check
This checker encourages bad behaviour (namely changing the static status of a function during inheritence) and will be made optional in upcoming versions of pylint.
This commit is contained in:
@@ -337,8 +337,7 @@ class LegacyNameAnalyzer(AbstractAnalyzer):
|
||||
return self.normalizer.transliterate(phrase)
|
||||
|
||||
|
||||
@staticmethod
|
||||
def normalize_postcode(postcode):
|
||||
def normalize_postcode(self, postcode):
|
||||
""" Convert the postcode to a standardized form.
|
||||
|
||||
This function must yield exactly the same result as the SQL function
|
||||
|
||||
Reference in New Issue
Block a user