airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject incubator-airflow git commit: [AIRFLOW-1920] Update to reflect enforced linting rules
Date Fri, 22 Dec 2017 12:56:23 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master d0db00959 -> 4b4132dfd

[AIRFLOW-1920] Update to reflect enforced linting rules

Updates Contributing guidelines to reflect
enforced linting rules & adds
instructions for running single file unit tests.

Closes #2878 from andyxhadji/AIRFLOW-1920


Branch: refs/heads/master
Commit: 4b4132dfdb1e80426232cc08ebae1828c6318742
Parents: d0db009
Author: Andy Hadjigeorgiou <>
Authored: Fri Dec 22 13:56:18 2017 +0100
Committer: Bolke de Bruin <>
Committed: Fri Dec 22 13:56:18 2017 +0100

---------------------------------------------------------------------- | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ b/
index 04b0d7f..da82805 100644
--- a/
+++ b/
@@ -123,7 +123,7 @@ which you can setup on your fork as well to check before you submit your
 PR. We currently enforce most [PEP8](
 and a few other linting rules. It is usually a good idea to lint locally
 as well using [flake8](
-using `flake8 airflow tests`
+using `flake8 airflow tests`. `git diff upstream/master -u -- "*.py" | flake8 --diff` will
return any changed files in your branch that require linting.
 9. Please read this excellent [article]( on
 commit messages and adhere to them. It makes the lives of those who
 come after you a lot easier.
@@ -135,6 +135,10 @@ Tests can then be run with (see also the [Running unit tests](#running-unit-test
+Individual test files can be run with:
+    nosetests [path to file]
 #### Running unit tests
 We *highly* recommend setting up [Travis CI]( on

View raw message