diff options
author | nea <nea@nea.moe> | 2023-08-25 15:09:35 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-25 15:09:35 +0200 |
commit | 91df2a9a6e7ae7e8f0e1bceebbf2790d1f2aafef (patch) | |
tree | 3ab46e7b20b5cf5e185964bba961f8c4612c40d0 | |
parent | ddc00804f1d2f909eae4461fb8d2e7571be107fc (diff) | |
download | firmament-91df2a9a6e7ae7e8f0e1bceebbf2790d1f2aafef.tar.gz firmament-91df2a9a6e7ae7e8f0e1bceebbf2790d1f2aafef.tar.bz2 firmament-91df2a9a6e7ae7e8f0e1bceebbf2790d1f2aafef.zip |
Add pre-commit hook
5 files changed, 33 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..091e35e --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe> +# +# SPDX-License-Identifier: CC0-1.0 + +repos: + - repo: https://github.com/fsfe/reuse-tool + rev: v1.0.0 + hooks: + - id: reuse diff --git a/src/main/java/moe/nea/firmament/mixins/MixinKeyBinding.java b/src/main/java/moe/nea/firmament/mixins/MixinKeyBinding.java index c057a93..f77caf5 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinKeyBinding.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinKeyBinding.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe> + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import moe.nea.firmament.features.fixes.Fixes; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinKeybindsScreen.java b/src/main/java/moe/nea/firmament/mixins/MixinKeybindsScreen.java index 23bc26c..3a17983 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinKeybindsScreen.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinKeybindsScreen.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe> + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import moe.nea.firmament.gui.config.ManagedConfig; diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/KeyBindingHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/KeyBindingHandler.kt index 5a4e3af..11c9c7a 100644 --- a/src/main/kotlin/moe/nea/firmament/gui/config/KeyBindingHandler.kt +++ b/src/main/kotlin/moe/nea/firmament/gui/config/KeyBindingHandler.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe> + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.gui.config import io.github.cottonmc.cotton.gui.widget.WButton diff --git a/src/main/kotlin/moe/nea/firmament/keybindings/SavedKeyBinding.kt b/src/main/kotlin/moe/nea/firmament/keybindings/SavedKeyBinding.kt index f73eb49..e0f0c50 100644 --- a/src/main/kotlin/moe/nea/firmament/keybindings/SavedKeyBinding.kt +++ b/src/main/kotlin/moe/nea/firmament/keybindings/SavedKeyBinding.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe> + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.keybindings import kotlinx.serialization.Serializable |