mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-11 07:11:48 +02:00
Fix Pylint warnings.
This commit is contained in:
parent
11596c4cd8
commit
868a417afc
19 changed files with 137 additions and 148 deletions
|
@ -109,10 +109,11 @@ class Sector:
|
|||
if self.main_direction is not None:
|
||||
if np.allclose(self.main_direction[0], 0):
|
||||
return None
|
||||
elif self.main_direction[0] > 0:
|
||||
if self.main_direction[0] > 0:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
return False
|
||||
|
||||
return None
|
||||
|
||||
def __str__(self) -> str:
|
||||
return f"{self.start}-{self.end}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue