1- # some useful commands for developing
2-
3-
4- update-rest-api :
5- poetry run python dlt_init_openapi/utils/update_rest_api.py
6-
71dev :
82 poetry install --all-extras
93
104# lint
11- lint : update-rest-api
5+ lint :
126 rm -rf tests/_local
137 poetry run flake8 dlt_init_openapi tests
148 poetry run mypy dlt_init_openapi tests
159 poetry run black tests dlt_init_openapi --check
16- poetry run isort black tests dlt_init_openapi --check --diff
10+ poetry run isort --profile black tests dlt_init_openapi --check --diff
1711
1812# format the whole project
19- format : update-rest-api
13+ format :
2014 rm -rf tests/_local
21- poetry run isort black tests dlt_init_openapi
15+ poetry run isort --profile black tests dlt_init_openapi
2216 poetry run black tests dlt_init_openapi
2317
2418# all tests excluding the checks on e2e tests
25- test : update-rest-api
26- poetry run python dlt_init_openapi/utils/update_rest_api.py
19+ test :
2720 poetry run pytest tests --ignore=tests/e2e
2821
2922# test without running all the specs through a source
30- test-fast : update-rest-api
23+ test-fast :
3124 poetry run pytest tests -m " not slow" --ignore=tests/e2e
3225
33- test-slow : update-rest-api
26+ test-slow :
3427 poetry run pytest tests -m " slow" --ignore=tests/e2e
3528
3629# dev helpers
@@ -42,7 +35,7 @@ create-pokemon-pipeline-interactive:
4235
4336# e2e test helpers
4437create-e2e-pokemon-pipeline :
45- poetry run dlt-init-openapi pokemon --path tests/cases/e2e_specs/pokeapi.yml --global-limit 2 --no-interactive
38+ poetry run dlt-init-openapi pokemon --path tests/cases/e2e_specs/pokeapi.yml --no-interactive --global-limit 2
4639
4740run-pokemon-pipeline :
4841 cd pokemon_pipeline && poetry run python pokemon_pipeline.py
0 commit comments