Skip to content

Commit

Permalink
ci: attempt to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sujuka99 committed Sep 27, 2023
1 parent 60a500b commit 571c43f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/ruff-matcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"owner": "ruff",
"pattern": [
{
"regexp": "/^(.*)\/(.+\\.py):(\\d+):(\\d+):\\s([\\da-zA-Z]+)\\s(.*)$/mg",
"regexp": "^(.*)\/(.+\\.py):(\\d+):(\\d+):\\s([\\da-zA-Z]+)\\s(.*)$/mg",
"fromPath": 1,
"file": 2,
"line": 3,
Expand Down
18 changes: 8 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ repos:
language: system
types_or: [python]
require_serial: true # run once for all files
- repo: local
hooks:
- id: ruff-ci
name: ruff-ci
entry: ruff check .
args: [ --output-format, text, --no-fix]
language: system
types_or: [python]
require_serial: true # run once for all files
stages: [manual]
- id: ruff-ci
name: ruff-ci
entry: ruff check .
args: [ --config, pyproject.toml, --output-format, text, --no-fix]
language: system
types_or: [python]
require_serial: true # run once for all files
stages: [manual]
- repo: local
hooks:
- id: black
Expand Down

0 comments on commit 571c43f

Please sign in to comment.