Skip to content

Commit

Permalink
ci: Unpin Unexecuted Dependencies (#1548)
Browse files Browse the repository at this point in the history
PyYAML and requests dependencies aren't ever directly executed and are
only pulled within CI systems to avoid import errors in pylint. Keeping
pinned dependencies for Python packages executed directly to avoid
randomly picking up breaking changes.
  • Loading branch information
panicstevenson authored Jul 10, 2020
1 parent a260da2 commit 053f90f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: '3.7'
- name: Install Dependencies
run: |
pip install black==19.10b0 PyYAML==5.1.2 requests==2.22.0
pip install black==19.10b0
- name: black **/*.py --line-length 100 --check --diff
run: |
black **/*.py --line-length 100 --check --diff
Expand All @@ -42,7 +42,7 @@ jobs:
echo "::add-matcher::.github/matchers/${{ github.job }}.json"
- name: Install Dependencies
run: | # TODO: Update pylint version to one that natively caps isort dependency
pip install pylint==2.2.3 isort==4.3.21 PyYAML==5.1.2 requests==2.22.0
pip install pylint==2.2.3 isort==4.3.21 PyYAML requests
- name: pylint **/*.py --errors-only
run: |
pylint **/*.py --errors-only

0 comments on commit 053f90f

Please sign in to comment.