]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Only install black on Python >= 3.6
authorTom Christie <tom@tomchristie.com>
Mon, 25 Jun 2018 13:42:38 +0000 (14:42 +0100)
committerTom Christie <tom@tomchristie.com>
Mon, 25 Jun 2018 13:42:38 +0000 (14:42 +0100)
.travis.yml
requirements.txt

index 36c345182672010e1d3bcfba77203b445c7ba386..76db8c4fbe598a4d592f09ccc35424bf65ab8de9 100644 (file)
@@ -8,7 +8,8 @@ python:
 
 install:
     - pip install -r requirements.txt
+    - if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then pip install black; fi
 
 script:
-    - if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then scripts/lint; fi
     - scripts/test
+    - if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then scripts/lint; fi
index 20a09115ca7f81c73f59205be62243a9aae4a958..943cab0d8cacbf1b97c54991d32273060f50d728 100644 (file)
@@ -1,6 +1,5 @@
 requests
 
-# Testing & Linting
+# Testing
 pytest
 pytest-cov
-black