Ingore unit tests in mypy check (#28359)
* 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>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
set -e
|
||||
git diff --name-only --relative --diff-filter=d remotes/origin/master -- . | grep -E '\.py$' | xargs .venv/bin/python -m mypy --config-file mypy.ini --install-types --non-interactive
|
||||
# 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
|
||||
Reference in New Issue
Block a user