Add pre-commit hook

This commit is contained in:
nea
2023-08-25 15:09:35 +02:00
parent ddc00804f1
commit 91df2a9a6e
5 changed files with 33 additions and 0 deletions

9
.pre-commit-config.yaml Normal file
View File

@@ -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

View File

@@ -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;

View File

@@ -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;

View File

@@ -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

View File

@@ -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