Skip to content

Commit

Permalink
Run PyLint under Python 3.5 (home-assistant#22642)
Browse files Browse the repository at this point in the history
* Run PyLint under Python 3.5

* Remove -q from pip install to debug

* Upgrade setuptools before install

* Use correct cache key for pylint
  • Loading branch information
balloob authored and awarecan committed Apr 2, 2019
1 parent 2578c85 commit 48189dd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ executors:
parameters:
tag:
type: string
default: latest
default: latest
docker:
- image: circleci/python:<< parameters.tag >>
- image: circleci/buildpack-deps:stretch
Expand Down Expand Up @@ -53,6 +53,7 @@ commands:
python3 -m venv venv
. venv/bin/activate
pip install -q -U pip
pip install -q -U setuptools
<<# parameters.all >>pip install -q --progress-bar off -r requirements_all.txt -c homeassistant/package_constraints.txt<</ parameters.all>>
<<# parameters.test >>pip install -q --progress-bar off -r requirements_test.txt -c homeassistant/package_constraints.txt<</ parameters.test>>
<<# parameters.test_all >>pip install -q --progress-bar off -r requirements_test_all.txt -c homeassistant/package_constraints.txt<</ parameters.test_all>>
Expand Down Expand Up @@ -107,27 +108,27 @@ jobs:
pre-install-all-requirements:
executor:
name: python
tag: 3.7-stretch
tag: 3.5.5-stretch

steps:
- checkout
- docker-prereqs
- install-requirements:
python: 3.7-stretch
python: 3.5.5-stretch
all: true
test: true

pylint:
executor:
name: python
tag: 3.7-stretch
tag: 3.5.5-stretch
parallelism: 2

steps:
- checkout
- docker-prereqs
- install-requirements:
python: 3.7-stretch
python: 3.5.5-stretch
all: true
test: true
- install
Expand Down

0 comments on commit 48189dd

Please sign in to comment.