Skip to content

Commit

Permalink
Merge branch 'main' into fix/sof-7539
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Dec 24, 2024
2 parents aecb3d5 + 9d78ac0 commit 0fefc41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
name: recreate-materials
language: system
# TODO: figure out how to make it work in PyCharm, only works in terminal
entry: python create_materials.py && exit 0
entry: .venv/bin/python create_materials.py && exit 0
pass_filenames: false
verbose: true
files: ^materials/sources/|create_materials.py
Expand All @@ -31,6 +31,7 @@ repos:
- repo: local
hooks:
- id: lint-staged
exclude: "^dist/"
name: lint-staged
language: node
entry: npx lint-staged
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"node": ">=20.0.0"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix",
"*.{js,ts,tsx,!dist/**/*,!*runtime_data*}": "eslint --cache --fix",
"*.{js,ts,tsx,css,!dist/**/*,!*runtime_data*}": "prettier --write"
}
}

0 comments on commit 0fefc41

Please sign in to comment.