diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml deleted file mode 100644 index 1bc5a73..0000000 --- a/.woodpecker/lint.yml +++ /dev/null @@ -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 . \ No newline at end of file diff --git a/scl.py b/scl.py index 80aadd4..4987404 100644 --- a/scl.py +++ b/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 # 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 (