Skip to content

Commit 71e2041

Browse files
potiukashb
authored andcommitted
[AIRFLOW-5746] Fix problems with static checks (#6420)
(cherry picked from commit c7ed169)
1 parent 7a6adad commit 71e2041

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/dags/test_impersonation_custom.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
from airflow.models import DAG
2323
from airflow.operators.python_operator import PythonOperator
24+
2425
# AIRFLOW-1893 - Originally, impersonation tests were incomplete missing the use case when
2526
# DAGs access custom packages usually made available through the PYTHONPATH environment
2627
# variable. This file includes a DAG that imports a custom package made available and if
@@ -29,6 +30,7 @@
2930
# This DAG is used to test that impersonation propagates the PYTHONPATH environment
3031
# variable correctly.
3132

33+
3234
DEFAULT_DATE = datetime(2016, 1, 1)
3335

3436
args = {
@@ -48,6 +50,7 @@ class FakeDatetime(datetime):
4850
def __new__(cls, *args, **kwargs):
4951
return datetime.__new__(datetime, *args, **kwargs)
5052

53+
5154
def print_today():
5255
date_time = FakeDatetime.utcnow()
5356
print('Today is {}'.format(date_time.strftime('%Y-%m-%d')))

0 commit comments

Comments
 (0)