Hi,

Jarosław Potiuk mentioned the usage of GIT pre-commit for incremental
validation checks in his talk at the Apache Conference
https://aceu19.apachecon.com/session/its-breeze-develop-airflow

The general idea is to only check the files being changed and/or added for
LINT testing, only executing the tests being influenced by changes (AFAIK
via code flow check), but unfortunately, he mentioned the check of licenses
via RAT for only the changed/added files did not succeed for him and his
team. I met Philipp at the conference and he mentioned that perhaps the
command line parameters of excluding all files, but including some files
(those added & changed) would cover this scenario.

Philipp asked me to write to the mailing list, so everyone might become
aware of this interesting scenario.
Also, put Jaroslaw on CC, so he might test RAT as pre-commit on Airflow
with Phillipps proposed solution.

Cheers,
Svante

PS: More information on the framework managing pre-commit hooks that Apache
Airflow is using can be found at https://pre-commit.com/

Reply via email to