Skip to content

Commit dd08ff4

Browse files
committed
Fix paths to lint, pin version of flake8.
Results of flake8 vary with major version updates. Let's pin the version of flake8 to make sure there are no surprises. Pinning this to 3.7.9, as 3.8 changed behaviour.
1 parent d872b46 commit dd08ff4

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/lint.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install flake8
25+
pip install flake8==3.7.9
2626
- name: lint
27+
working-directory: ./fluent.syntax
2728
run: |
28-
flake8 fluent-syntax/fluent
29+
flake8 fluent
2930
3031
runtime:
3132
name: flake8 runtime
@@ -38,7 +39,8 @@ jobs:
3839
- name: Install dependencies
3940
run: |
4041
python -m pip install --upgrade pip
41-
pip install flake8
42+
pip install flake8==3.7.9
4243
- name: lint
44+
working-directory: ./fluent.runtime
4345
run: |
44-
flake8 fluent-runtime/fluent
46+
flake8 fluent

0 commit comments

Comments
 (0)