@@ -44,10 +44,10 @@ has-uv:
4444 uv --version
4545
4646dev : has-uv
47- uv sync --all-extras --group docs --group dev --group providers --group pipeline --group sources --group sentry-sdk --group ibis --group adbc --group dashboard-tests
47+ uv sync --all-extras --group dev --group providers --group pipeline --group sources --group sentry-sdk --group ibis --group adbc --group dashboard-tests
4848
4949dev-airflow : has-uv
50- uv sync --all-extras --group docs --group providers --group pipeline --group sources --group sentry-sdk --group ibis --group airflow
50+ uv sync --all-extras --group providers --group pipeline --group sources --group sentry-sdk --group ibis --group airflow
5151
5252lint : lint-core lint-security lint-docstrings
5353
@@ -60,45 +60,14 @@ lint-core:
6060 # NOTE: we exclude all D lint errors (docstrings)
6161 uv run flake8 --extend-ignore=D --max-line-length=200 dlt
6262 uv run flake8 --extend-ignore=D --max-line-length=200 tests --exclude tests/reflection/module_cases,tests/common/reflection/cases/modules/
63- uv run black dlt docs tests --check --diff --color --extend-exclude=" .*syntax_error.py"
6463
6564format :
66- uv run black dlt docs tests --extend-exclude=' .*syntax_error.py|_storage/.*'
67- uv run black docs/education --ipynb --extend-exclude=' .*syntax_error.py|_storage/.*'
68-
69- lint-snippets :
70- cd docs/tools && uv run python check_embedded_snippets.py full
71- # TODO: re-enable transformation snippets tests when dlthub dep is available
72- uv pip install docstring_parser_fork --reinstall
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/
74- uv run ruff check
75- uv run flake8 --max-line-length=200 docs/website docs/tools --exclude docs/website/.dlt-repo,docs/website/node_modules
76-
77- lint-and-test-snippets : lint-snippets
78- cd docs/website/docs && uv run pytest --ignore=node_modules
79-
80- lint-and-test-examples :
81- uv pip install docstring_parser_fork --reinstall
82- cd docs/tools && uv run python prepare_examples_tests.py
83- uv run ruff check
84- uv run flake8 --max-line-length=200 docs/examples
85- uv run mypy --config-file mypy.ini docs/examples
86- cd docs/examples && uv run pytest
87-
88- test-examples :
89- cd docs/examples && uv run pytest
65+ uv run black dlt tests --extend-exclude=' .*syntax_error.py|_storage/.*'
9066
9167lint-security :
9268 # go for ll by cleaning up eval and SQL warnings.
9369 uv run bandit -r dlt/ -n 3 -lll
9470
95- lint-notebooks :
96- uv run nbqa flake8 docs/education --extend-ignore=D,F704 --max-line-length=200
97- uv run nbqa mypy docs/education \
98- --ignore-missing-imports \
99- --disable-error-code=no-redef \
100- --disable-error-code=top-level-await
101-
10271# check docstrings for all important public classes and functions
10372lint-docstrings :
10473 uv run flake8 --count \
@@ -146,10 +115,6 @@ test-build-images: build-library
146115 docker build -f deploy/dlt/Dockerfile.airflow --build-arg=COMMIT_SHA=" $( shell git log -1 --pretty=%h) " --build-arg=IMAGE_VERSION=" $( shell uv version --short) " .
147116 docker build -f deploy/dlt/Dockerfile.minimal --build-arg=COMMIT_SHA=" $( shell git log -1 --pretty=%h) " --build-arg=IMAGE_VERSION=" $( shell uv version --short) " .
148117
149- preprocess-docs :
150- # run docs preprocessing to run a few checks and ensure examples can be parsed
151- cd docs/website && npm i && npm run preprocess-docs
152-
153118start-test-containers :
154119 docker compose -f " tests/load/dremio/docker-compose.yml" up -d
155120 docker compose -f " tests/load/postgres/docker-compose.yml" up -d
0 commit comments