diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..03490db50 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,3 @@ +[*] +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.gitignore b/.gitignore index 46316e4b3..22f5a6cd6 100644 --- a/.gitignore +++ b/.gitignore @@ -154,4 +154,3 @@ dmypy.json dependencies cuda_build output/ -.vscode/* diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..939843f43 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "ms-python.python", + "charliermarsh.ruff", + "twxs.cmake" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..906f28588 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "ruff.fixAll": true, + "ruff.lint.run": "onType", + "editor.codeActionsOnSave": { + "source.fixAll": "always" + } +}