-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using poetry merely for running pre-commit is overkill. Especially, given the pre-commit GitHub action either way ignored our setup and downloaded and used the latest pre-commit version. pre-commit is an established tool with a stable behavior. All users can be expected to install it for themselves. Furthermore, we can ensure a fairly recent version is used via the pre-commit config.
- Loading branch information
Showing
5 changed files
with
3 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,18 +7,7 @@ jobs: | |
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
cache: 'poetry' | ||
- name: Install dependencies | ||
run: poetry install --no-interaction --no-root | ||
- run: source .venv/bin/activate | ||
- uses: pre-commit/[email protected] | ||
|
||
fast-tests: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
minimum_pre_commit_version: 4.0.0 | ||
|
||
define: &generated_doc_files "^docs/(cc_info_mapping|dwyu_aspect).md" | ||
|
||
repos: | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters