Disable linting on SQL statement
All checks were successful
ci/woodpecker/manual/lint Pipeline was successful

This commit is contained in:
Liam Steckler 2024-02-10 20:51:41 -08:00
parent 113f6b1db6
commit b619c3bf2a

2
scl.py
View file

@ -411,7 +411,7 @@ with Session(engine) as session:
session.commit() session.commit()
lookup_active_outages_statement = select(SclOutage).where( 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): for active_outage in session.scalars(lookup_active_outages_statement):
if ( if (