Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions airflow-core/src/airflow/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import atexit
import functools
import json
import json as json_lib
import logging
import os
import sys
Expand Down Expand Up @@ -122,7 +122,7 @@
AsyncSession: Callable[..., SAAsyncSession]

# The JSON library to use for DAG Serialization and De-Serialization
json = json
json = json_lib

# Display alerts on the dashboard
# Useful for warning about setup issues or announcing changes to end users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def test_fail_all_checks_check(self, monkeypatch):
("X", "min", -1),
("X", "max", 20),
]
operator = operator = self._construct_operator(monkeypatch, self.valid_column_mapping, records)
operator = self._construct_operator(monkeypatch, self.valid_column_mapping, records)
with pytest.raises(AirflowException):
operator.execute(context=MagicMock())

Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ extend-select = [
"TID25", # flake8-tidy-imports rules
"E", # pycodestyle rules
"W", # pycodestyle rules
# Warning (PLW) re-implemented in ruff from Pylint
"PLW0127", # Self-assignment of variable
# Per rule enables
"RUF006", # Checks for asyncio dangling task
"RUF015", # Checks for unnecessary iterable allocation for first element
Expand Down
Loading