mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-12 07:41:55 +02:00
Fix code style.
This commit is contained in:
parent
b02b7cc4ab
commit
e5671fcf8f
12 changed files with 52 additions and 27 deletions
|
@ -303,7 +303,7 @@ class Scheme:
|
|||
"""
|
||||
if key in self.tags_to_write or key in self.tags_to_skip:
|
||||
return True
|
||||
for prefix in self.prefix_to_write + self.prefix_to_skip: # type: str
|
||||
for prefix in self.prefix_to_write + self.prefix_to_skip:
|
||||
if key[: len(prefix) + 1] == f"{prefix}:":
|
||||
return True
|
||||
return False
|
||||
|
@ -319,7 +319,7 @@ class Scheme:
|
|||
return False
|
||||
if key in self.tags_to_write:
|
||||
return True
|
||||
for prefix in self.prefix_to_write: # type: str
|
||||
for prefix in self.prefix_to_write:
|
||||
if key[: len(prefix) + 1] == f"{prefix}:":
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue