Skip to content

Commit

Permalink
chore(pipeline): update isort config
Browse files Browse the repository at this point in the history
Add dag_utils to known locals.
  • Loading branch information
vperron committed Dec 5, 2023
1 parent 2fb75a8 commit 454bad4
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions pipeline/dags/dag_utils/dbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from airflow.models import Variable
from airflow.operators import bash

from dag_utils.virtualenvs import DBT_PYTHON_BIN_PATH


Expand Down
1 change: 1 addition & 0 deletions pipeline/dags/import_admin_express.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import airflow
import pendulum
from airflow.operators import bash, empty, python

from dag_utils.virtualenvs import PIPX_PYTHON_BIN_PATH, PYTHON_BIN_PATH

logger = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions pipeline/dags/import_insee_code_officiel_geographique.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import airflow
import pendulum
from airflow.operators import empty, python

from dag_utils.virtualenvs import PYTHON_BIN_PATH

logger = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions pipeline/dags/import_insee_firstnames.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import airflow
import pendulum
from airflow.operators import empty, python

from dag_utils.virtualenvs import PYTHON_BIN_PATH

logger = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions pipeline/dags/import_odspep.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import airflow
import pendulum
from airflow.operators import empty, python

from dag_utils.virtualenvs import PYTHON_BIN_PATH

logger = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions pipeline/dags/import_sirene.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import airflow
import pendulum
from airflow.operators import empty, python

from dag_utils.virtualenvs import PYTHON_BIN_PATH

logger = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions pipeline/dags/import_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import pendulum
from airflow.operators import empty, python
from airflow.utils.task_group import TaskGroup

from dag_utils.dbt import dbt_operator_factory
from dag_utils.notifications import format_failure, notify_webhook
from dag_utils.settings import SOURCES_CONFIGS
Expand Down
1 change: 1 addition & 0 deletions pipeline/dags/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import pendulum
from airflow.operators import empty, python
from airflow.utils.task_group import TaskGroup

from dag_utils.dbt import dbt_operator_factory
from dag_utils.notifications import format_failure, notify_webhook
from dag_utils.settings import SOURCES_CONFIGS
Expand Down
1 change: 1 addition & 0 deletions pipeline/dags/publish.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import airflow
import pendulum
from airflow.operators import empty, python

from dag_utils.virtualenvs import PYTHON_BIN_PATH

default_args = {}
Expand Down
1 change: 1 addition & 0 deletions pipeline/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ force_grid_wrap = 0
include_trailing_comma = true
indent = 4
known_first_party = "data_inclusion"
known_local_folder = "dag_utils"
line_length = 88
multi_line_output = 3
profile = "black"
Expand Down

0 comments on commit 454bad4

Please sign in to comment.