Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIRFLOW-XXXX] Increease verbosity of static checks in CI #7200

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .rat-excludes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.github/*
.gitignore
.gitattributes
.airflow_db_initialised
.airflowignore
.coverage
.coveragerc
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/ci_run_all_static_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ rebuild_ci_image_if_needed
IMAGES_TO_CHECK=("CI")
export IMAGES_TO_CHECK

pre-commit run --all-files --show-diff-on-failure
pre-commit run --all-files --show-diff-on-failure --verbose

script_end
4 changes: 3 additions & 1 deletion scripts/ci/pre_commit_check_license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ MY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export FORCE_ANSWER_TO_QUESTIONS=${FORCE_ANSWER_TO_QUESTIONS:="quit"}
export REMEMBER_LAST_ANSWER="true"

"${MY_DIR}/ci_check_license.sh"
# Hide lines between ****/**** (detailed list of files)
"${MY_DIR}/ci_check_license.sh" 2>&1 | \
sed "/Files with Apache License headers will be marked AL.*$/,/^\**$/d"