Skip to content
Snippets Groups Projects
Commit 1d98d49b authored by Xuefeng Ding's avatar Xuefeng Ding
Browse files

fix

parent bd06a59a
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ repos:
hooks:
- id: ruff
args: ["--fix", "--exit-non-zero-on-fix", "--show-fixes"]
- id: ruff-format
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
......
{
"editor.rulers": [88],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
"source.fixAll": "explicit"
},
"editor.defaultFormatter": "ms-python.black-formatter"
},
"notebook.defaultFormatter": "ms-python.black-formatter",
"notebook.codeActionsOnSave": {
"source.organizeImports": "explicit"
"editor.defaultFormatter": "charliermarsh.ruff"
},
// "notebook.codeActionsOnSave": {
// "source.fixAll": "explicit"
// },
"notebook.defaultFormatter": "charliermarsh.ruff",
// "ruff.lint.args": ["--config=pyproject.toml"],
"ruff.fixAll": true,
"[cpp]": {
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"editor.formatOnSave": true,
"isort.args": ["--profile", "black"],
"notebook.lineNumbers": "on",
"clangd.arguments": [
"--log=info",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment