Skip to content

Commit 8ad0ba0

Browse files
authored
[CI] Re-enable python2 flake8 checking (#1591)
This was accidentally removed in #1183
1 parent 833fa33 commit 8ad0ba0

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.circleci/config.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,24 @@ jobs:
7878
steps:
7979
- checkout
8080
- run:
81-
name: install pip
81+
name: install python deps
8282
command: |
8383
apt-get update -q
84-
apt-get install -q -y python3-pip
85-
- run: python3 -m pip install --upgrade pip
86-
- run: python3 -m pip install flake8==7.1.1
87-
- run: python3 -m flake8 --show-source --statistics --extend-exclude=./scripts
84+
apt-get install -q -y python2 python3-pip
85+
- run:
86+
name: python2 flake8
87+
command: |
88+
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
89+
python2 get-pip.py
90+
python2 -m pip install flake8==3.9.2
91+
python2 -m flake8 --show-source --statistics --extend-exclude=./scripts
92+
- run:
93+
name: python3 flake8
94+
command: |
95+
python3 -m pip install --upgrade pip
96+
python3 -m pip install flake8==7.1.1
97+
python3 -m flake8 --show-source --statistics --extend-exclude=./scripts
98+
8899
89100
test-linux:
90101
executor: ubuntu

0 commit comments

Comments
 (0)