Compare commits

..

No commits in common. "b619c3bf2aa6761cbb71bf0c1b05eb6d3f27f30e" and "ceadea03ab3fe30b5cb6aa731a3b59cabe545523" have entirely different histories.

2 changed files with 1 additions and 11 deletions

View file

@ -1,10 +0,0 @@
when:
branch: main
steps:
- name: lint
image: python:3-alpine
commands:
- python -m pip install --upgrade pip
- python -m pip install -r requirements.txt
- python -m pip install ruff
- ruff check .

2
scl.py
View file

@ -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 # noqa: E711 - Syntax must stay this way for SQLAlchemy
SclOutage.no_longer_in_response_time == None
)
for active_outage in session.scalars(lookup_active_outages_statement):
if (