@@ -48,8 +48,10 @@ dev: has-uv
4848
4949dev-airflow : has-uv
5050 uv sync --all-extras --group docs --group providers --group pipeline --group sources --group sentry-sdk --group ibis --group airflow
51-
52- lint :
51+
52+ lint : lint-core lint-security lint-docstrings
53+
54+ lint-core :
5355 uv run mypy --config-file mypy.ini dlt tests
5456 # NOTE: we need to make sure docstring_parser_fork is the only version of docstring_parser installed
5557 uv pip uninstall docstring_parser
@@ -59,22 +61,20 @@ lint:
5961 uv run flake8 --extend-ignore=D --max-line-length=200 dlt
6062 uv run flake8 --extend-ignore=D --max-line-length=200 tests --exclude tests/reflection/module_cases,tests/common/reflection/cases/modules/
6163 uv run black dlt docs tests --check --diff --color --extend-exclude=" .*syntax_error.py"
62- $(MAKE ) lint-security
63- $(MAKE ) lint-docstrings
6464
6565format :
6666 uv run black dlt docs tests --extend-exclude=' .*syntax_error.py|_storage/.*'
6767 uv run black docs/education --ipynb --extend-exclude=' .*syntax_error.py|_storage/.*'
6868
6969lint-snippets :
7070 cd docs/tools && uv run python check_embedded_snippets.py full
71-
72- lint-and-test-snippets : lint-snippets
73- # TODO: re-enable transformation snippets tests
71+ # TODO: re-enable transformation snippets tests when dlthub dep is available
7472 uv pip install docstring_parser_fork --reinstall
75- uv run mypy --config-file mypy.ini docs/website docs/tools --exclude docs/tools/lint_setup --exclude docs/website/docs_processed --exclude docs/website/versioned_docs/ --exclude docs/website/docs/general-usage/transformations/transformation-snippets.py
73+ uv run mypy --config-file mypy.ini docs/website docs/tools --exclude docs/tools/lint_setup --exclude docs/website/docs_processed --exclude docs/website/versioned_docs/
7674 uv run ruff check
77- uv run flake8 --max-line-length=200 docs/website docs/tools --exclude docs/website/.dlt-repo --exclude docs/website/docs/hub/features/transformations/transformation-snippets.py
75+ uv run flake8 --max-line-length=200 docs/website docs/tools --exclude docs/website/.dlt-repo
76+
77+ lint-and-test-snippets : lint-snippets
7878 cd docs/website/docs && uv run pytest --ignore=node_modules --ignore hub/features/transformations/transformation-snippets.py
7979
8080lint-and-test-examples :
@@ -123,7 +123,7 @@ test-load-local-postgres:
123123 DESTINATION__POSTGRES__CREDENTIALS=postgresql://loader:loader@localhost:5432/dlt_data ACTIVE_DESTINATIONS=' ["postgres"]' ALL_FILESYSTEM_DRIVERS=' ["memory"]' uv run pytest tests/load
124124
125125test-common :
126- uv run pytest tests/common tests/normalize tests/extract tests/pipeline tests/reflection tests/sources tests/cli/common tests/load/test_dummy_client.py tests/libs tests/destinations
126+ uv run pytest tests/common tests/normalize tests/extract tests/pipeline tests/reflection tests/sources tests/workspace tests/load/test_dummy_client.py tests/libs tests/destinations
127127
128128reset-test-storage :
129129 -rm -r _storage
@@ -180,8 +180,8 @@ test-e2e-dashboard-headed:
180180 uv run pytest --headed --browser chromium tests/e2e
181181
182182start-dlt-dashboard-e2e :
183- uv run marimo run --headless dlt/helpers/dashboard/dlt_dashboard.py -- -- --pipelines-dir _storage/.dlt/pipelines --with_test_identifiers true
183+ uv run marimo run --headless dlt/_workspace/ helpers/dashboard/dlt_dashboard.py -- -- --pipelines-dir _storage/.dlt/pipelines --with_test_identifiers true
184184
185185# creates the dashboard test pipelines globally for manual testing of the dashboard app and cli
186186create-test-pipelines :
187- uv run python tests/helpers/dashboard/example_pipelines.py
187+ uv run python tests/workspace/ helpers/dashboard/example_pipelines.py
0 commit comments