feat: set --force-exclude
in pre-commit-mirror
command (#23)
https://github.com/charliermarsh/ruff-pre-commit/pull/20 added the flag in pre-commit configuration, but since the source of truth is `pre-commit-mirror` command in the CI workflow, it is replaced by `ruff`, as can be shown in 380e8f2639
.
This commit is contained in:
parent
380e8f2639
commit
514931592b
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -27,6 +27,6 @@ jobs:
|
|||||||
git config user.name 'Github Actions'
|
git config user.name 'Github Actions'
|
||||||
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||||
|
|
||||||
- run: pre-commit-mirror --language python --package-name ruff --entry ruff --id ruff --types-or python --types-or pyi --require-serial --description "Run 'ruff' for extremely fast Python linting" .
|
- run: pre-commit-mirror --language python --package-name ruff --entry 'ruff --force-exclude' --id ruff --types-or python --types-or pyi --require-serial --description "Run 'ruff' for extremely fast Python linting" .
|
||||||
|
|
||||||
- run: git push origin HEAD:refs/heads/main --tags
|
- run: git push origin HEAD:refs/heads/main --tags
|
||||||
|
Loading…
Reference in New Issue
Block a user