Disable linting on SQL statement
All checks were successful
ci/woodpecker/manual/lint Pipeline was successful
All checks were successful
ci/woodpecker/manual/lint Pipeline was successful
This commit is contained in:
parent
113f6b1db6
commit
b619c3bf2a
1 changed files with 1 additions and 1 deletions
2
scl.py
2
scl.py
|
@ -411,7 +411,7 @@ with Session(engine) as session:
|
|||
session.commit()
|
||||
|
||||
lookup_active_outages_statement = select(SclOutage).where(
|
||||
SclOutage.no_longer_in_response_time == None
|
||||
SclOutage.no_longer_in_response_time == None # noqa: E711 - Syntax must stay this way for SQLAlchemy
|
||||
)
|
||||
for active_outage in session.scalars(lookup_active_outages_statement):
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue