We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0c6901 commit 9bb0dffCopy full SHA for 9bb0dff
1 file changed
.pre-commit-config.yaml
@@ -0,0 +1,19 @@
1
+# SPDX-FileCopyrightText: ASSUME Developers
2
+#
3
+# SPDX-License-Identifier: AGPL-3.0-or-later
4
+
5
+repos:
6
+ - repo: https://github.com/astral-sh/ruff-pre-commit
7
+ # Ruff version.
8
+ rev: v0.9.5
9
+ hooks:
10
+ # Run the linter.
11
+ - id: ruff
12
+ args: [ --fix ]
13
+ # Run the formatter.
14
+ - id: ruff-format
15
+ - repo: https://github.com/pre-commit/pre-commit-hooks
16
+ rev: v5.0.0
17
18
+ - id: end-of-file-fixer
19
+ - id: trailing-whitespace
0 commit comments