-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
24 additions
and
20 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file is managed by Copier; DO NOT EDIT OR REMOVE. | ||
_commit: v0.1.1 | ||
_src_path: [email protected]:quantco/copier-template-pre-commit-mirrors | ||
description: Run 'ruff' for extremely fast Python linting | ||
entry: ruff --fix --exit-non-zero-on-fix | ||
tool: ruff | ||
url: https://github.com/charliermarsh/ruff |
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
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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: CI | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
|
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,8 +1,7 @@ | ||
name: Keep | ||
on: | ||
# pull_request: | ||
schedule: | ||
- cron: "0 6 * * SUN" # Once weekly on Sunday @ 0600 UTC | ||
- cron: 0 6 * * SUN | ||
|
||
jobs: | ||
keep-alive: | ||
|
@@ -12,7 +11,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: gautamkrishnar/keepalive-workflow@60b13c92aeda855e493b83aaf482c25da7e0043b | ||
with: | ||
commit_message: "Ah ah ah, stayin' alive" | ||
commit_message: Ah ah ah, stayin' alive | ||
committer_username: ForrestQuant | ||
committer_email: "[email protected]" | ||
time_elapsed: 50 # days | ||
committer_email: [email protected] | ||
time_elapsed: 50 # days |
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
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,19 +1,18 @@ | ||
ruff(-conda) mirror | ||
==================== | ||
# ruff mirror | ||
|
||
Mirror of ruff for pre-commit with conda as a language. | ||
|
||
For pre-commit: see https://github.com/pre-commit/pre-commit | ||
For ruff: see https://github.com/charliermarsh/ruff | ||
For pre-commit: see [here](https://github.com/pre-commit/pre-commit) | ||
|
||
### Using ruff with pre-commit and conda: | ||
For ansible-lint: see [here](https://github.com/charliermarsh/ruff) | ||
|
||
## Using ruff with pre-commit and conda: | ||
|
||
Add this to your `.pre-commit-config.yaml` | ||
|
||
```yaml | ||
- repo: https://github.com/Quantco/pre-commit-mirrors-ruff | ||
- repo: https://github.com/quantco/pre-commit-mirrors-ruff | ||
rev: '' # Use the sha / tag you want to point at | ||
hooks: | ||
- id: ruff-conda | ||
``` | ||