* ingore unit tests in mypy check * Update airbyte-cdk/python/bin/run-mypy-on-modified-files.sh Co-authored-by: Alexandre Girard <alexandre@airbyte.io> * ignore list instead of allow list --------- Co-authored-by: Alexandre Girard <alexandre@airbyte.io>
3 lines
287 B
Bash
Executable File
3 lines
287 B
Bash
Executable File
set -e
|
|
# TODO change this to include unit_tests as well once it's in a good state
|
|
git diff --name-only --relative --diff-filter=d remotes/origin/master -- . ':(exclude)unit_tests' | grep -E '\.py$' | xargs .venv/bin/python -m mypy --config-file mypy.ini --install-types --non-interactive |