Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

lint-staged
22 changes: 21 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
{
"extends": "nx/presets/npm.json",
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"plugins": ["@nxlv/python"]
"plugins": ["@nxlv/python"],
"targetDefaults": {
"lint": {
"executor": "@nxlv/python:ruff-check",
"options": {
"lintFilePatterns": [
"**/*.py"
]
}
},
"lint:fix": {
"executor": "@nxlv/python:ruff-check",
"options": {
"lintFilePatterns": [
"**/*.py"
],
"fix": true
},
"cache": false
}
}
}
Loading
Loading