Skip to content

Commit

Permalink
Skip building/installing current project for linting (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored Mar 28, 2023
1 parent 13081d6 commit 5f4b6ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-poetry-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:

- name: Setup Poetry
uses: matrix-org/setup-python-poetry@v1
with:
install-project: "false"

- name: Import order (isort)
run: poetry run isort --check --diff .
Expand All @@ -49,6 +51,7 @@ jobs:
with:
# We want to make use of type hints in optional dependencies too.
extras: "${{ inputs.typechecking-extras }}"
install-project: "false"

- name: Restore/persist mypy's cache
uses: AustinScola/mypy-cache-github-action@df56268388422ee282636ee2c7a9cc55ec644a41
Expand Down

0 comments on commit 5f4b6ba

Please sign in to comment.