Skip to content

Commit

Permalink
Install pylint-sarif-unofficial via pipx (#209)
Browse files Browse the repository at this point in the history
Without this change, pylint-sarif-unofficial should still start
working again, because version 0.2.0 holds back the version of
jsonschema. However, we have other dependencies that pull in
jsonschema as an indirect dependency, and I'd rather not keep those
from benefiting from improvements.

* Install pylint-sarif-unofficial via pipx

And use the new version.

This change--both installing it with pipx on CI instead of having
it as a development dependency, and using the new version--is to
work around EliahKagan/pylint-sarif#19.

This also upgrades (other) direct and indirect dependencies.

* Use stable 0.2.0

(This version is actually the same code as the alpha.)

* Don't specify version

0.2.0 is available when given explicitly, as the previous commit
verifies. It should be selected automatically when no version is
given, as long as no later stable version is available.
  • Loading branch information
EliahKagan authored Jul 16, 2023
1 parent df96583 commit b7425f7
Show file tree
Hide file tree
Showing 4 changed files with 508 additions and 478 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Check out source repository
uses: actions/checkout@v3

- name: Install pylint-sarif-unofficial
run: pipx install pylint-sarif-unofficial

- name: Set up micromamba
uses: mamba-org/setup-micromamba@v1
with:
Expand Down
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ dependencies:
- blake3
- pylint-actions
- pylint-exit
- pylint-sarif-unofficial
- subaudit
Loading

0 comments on commit b7425f7

Please sign in to comment.