Skip to content

Commit de3484a

Browse files
authored
set black min supported version (#302)
1 parent d31f0f5 commit de3484a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ repos:
1818
- id: black
1919
name: black
2020
language: system
21+
args:
22+
- --target-version
23+
- py37
2124
entry: black
2225
require_serial: true
2326
files: *files

sqlmesh/schedulers/airflow/operators/targets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def post_hook(
124124
self,
125125
context: Context,
126126
session: Session = util.PROVIDED_SESSION,
127-
**kwargs: t.Any
127+
**kwargs: t.Any,
128128
) -> None:
129129
VariableStateSync(session).add_interval(
130130
self.snapshot.snapshot_id,
@@ -236,7 +236,7 @@ def post_hook(
236236
self,
237237
context: Context,
238238
session: Session = util.PROVIDED_SESSION,
239-
**kwargs: t.Any
239+
**kwargs: t.Any,
240240
) -> None:
241241
_delete_xcom(
242242
common.SNAPSHOT_TABLE_CLEANUP_XCOM_KEY,

0 commit comments

Comments
 (0)