ci: add flake8
This commit is contained in:
parent
014596d271
commit
dd501a6e4e
32 changed files with 170 additions and 171 deletions
|
@ -28,9 +28,9 @@ class Bridgelines(BaseModel):
|
|||
|
||||
def bridgelines(*, distribution_method: Optional[str] = None) -> Dict[str, Any]:
|
||||
bridges: Iterable[Bridge] = Bridge.query.filter(
|
||||
Bridge.destroyed == None,
|
||||
Bridge.deprecated == None,
|
||||
Bridge.bridgeline != None
|
||||
Bridge.destroyed.is_(None),
|
||||
Bridge.deprecated.is_(None),
|
||||
Bridge.bridgeline.is_not(None)
|
||||
).all()
|
||||
if distribution_method is not None:
|
||||
bridges = [b for b in bridges
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue