mirror of
https://github.com/ModOrganizer2/modorganizer-preview_dds.git
synced 2026-07-27 14:06:05 -07:00
Add pre-commit hook. (#17)
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ indent_size = 4
|
|||||||
|
|
||||||
[{CMakeLists.txt, *.cmake}]
|
[{CMakeLists.txt, *.cmake}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v5.0.0
|
||||||
|
hooks:
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: check-merge-conflict
|
||||||
|
- id: check-case-conflict
|
||||||
|
|
||||||
|
ci:
|
||||||
|
autofix_commit_msg: "[pre-commit.ci] Auto fixes from pre-commit.com hooks."
|
||||||
|
autofix_prs: true
|
||||||
|
autoupdate_commit_msg: "[pre-commit.ci] Pre-commit autoupdate."
|
||||||
|
autoupdate_schedule: quarterly
|
||||||
|
submodules: false
|
||||||
+1
-1
@@ -217,4 +217,4 @@ class DDSFile:
|
|||||||
return texture
|
return texture
|
||||||
|
|
||||||
def tr(self, str):
|
def tr(self, str):
|
||||||
return QCoreApplication.translate("DDSFile", str)
|
return QCoreApplication.translate("DDSFile", str)
|
||||||
|
|||||||
+1
-1
@@ -202,4 +202,4 @@ class UncompressedGLTextureFormat(GLTextureFormat):
|
|||||||
if converter:
|
if converter:
|
||||||
self.converter = converter
|
self.converter = converter
|
||||||
else:
|
else:
|
||||||
self.converter = lambda x: x
|
self.converter = lambda x: x
|
||||||
|
|||||||
Reference in New Issue
Block a user