diff --git a/.travis.yml b/.travis.yml index 6922fb2..184c78b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ python: install: - pip install -r dev_requirements.txt - pip install --force-reinstall azure-nspkg==1.0.0 +before_script: + - if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then black . --line-length 100 --check; fi script: - pytest azure-kusto-data - pytest azure-kusto-ingest diff --git a/dev_requirements.txt b/dev_requirements.txt index 64cc700..424215e 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,3 +1,4 @@ -e azure-kusto-data -e azure-kusto-ingest -pytest>=3.2.0 \ No newline at end of file +pytest>=3.2.0 +black;python_version == '3.6' \ No newline at end of file