-
Notifications
You must be signed in to change notification settings - Fork 1
fix: correct import sorting and pin tool versions to fix CI lint #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
e513b59
be7f923
65a02f5
28d2fb6
58590d5
4dcc55f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -52,35 +52,41 @@ repos: | |||||||||||||||||||||
| types: [ python ] | ||||||||||||||||||||||
| args: [ "--py310-plus" ] | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - repo: https://github.com/provinzkraut/unasyncd | ||||||||||||||||||||||
| rev: v0.9.0 | ||||||||||||||||||||||
| - repo: local | ||||||||||||||||||||||
| hooks: | ||||||||||||||||||||||
| - id: unasyncd | ||||||||||||||||||||||
| additional_dependencies: [ "ruff" ] | ||||||||||||||||||||||
| name: unasyncd | ||||||||||||||||||||||
| entry: uv run unasyncd | ||||||||||||||||||||||
| language: system | ||||||||||||||||||||||
| types: [ python ] | ||||||||||||||||||||||
| pass_filenames: false | ||||||||||||||||||||||
| require_serial: true | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - repo: https://github.com/charliermarsh/ruff-pre-commit | ||||||||||||||||||||||
| rev: v0.13.0 | ||||||||||||||||||||||
| - repo: local | ||||||||||||||||||||||
| hooks: | ||||||||||||||||||||||
| - id: ruff-check | ||||||||||||||||||||||
| types_or: [ python, pyi ] | ||||||||||||||||||||||
| args: [ --fix ] | ||||||||||||||||||||||
| - id: ruff-format | ||||||||||||||||||||||
| types_or: [ python, pyi ] | ||||||||||||||||||||||
| - id: ruff | ||||||||||||||||||||||
| name: ruff | ||||||||||||||||||||||
| entry: tools/mise run ruff:pre-commit | ||||||||||||||||||||||
| language: system | ||||||||||||||||||||||
| types: [ python ] | ||||||||||||||||||||||
| pass_filenames: false | ||||||||||||||||||||||
| require_serial: true | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - repo: local | ||||||||||||||||||||||
| hooks: | ||||||||||||||||||||||
| - id: lint | ||||||||||||||||||||||
| name: lint | ||||||||||||||||||||||
| entry: mise run lint:pre-commit | ||||||||||||||||||||||
| language: python | ||||||||||||||||||||||
| entry: tools/mise run lint:pre-commit | ||||||||||||||||||||||
| language: system | ||||||||||||||||||||||
| types: [ python ] | ||||||||||||||||||||||
| pass_filenames: false | ||||||||||||||||||||||
| require_serial: true | ||||||||||||||||||||||
|
Comment on lines
+79
to
83
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix bracket spacing. Same bracket spacing issue at line 81. Proposed fix- types: [ python ]
+ types: [python]📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.38.0)[error] 81-81: too many spaces inside brackets (brackets) [error] 81-81: too many spaces inside brackets (brackets) 🤖 Prompt for AI Agents |
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - repo: local | ||||||||||||||||||||||
| hooks: | ||||||||||||||||||||||
| - id: task-docs | ||||||||||||||||||||||
| name: Tasks documentation | ||||||||||||||||||||||
| entry: mise run render:usage | ||||||||||||||||||||||
| entry: tools/mise run render:usage | ||||||||||||||||||||||
| language: system | ||||||||||||||||||||||
| files: ^mise.toml$ | ||||||||||||||||||||||
| pass_filenames: false | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be needed, as
miseis already installed by the gh actionUh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this repo already have a mise in this folder I thought will be nice to already use it in CI and in local env.
What do you think about it?