mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0
This commit is contained in:
parent
df78c0636d
commit
3a08c646ee
@ -1,6 +1,6 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v16.0.6
|
||||
rev: v17.0.6
|
||||
hooks:
|
||||
- id: clang-format
|
||||
files: \.(c|h|cpp|hpp|cc|cxx|m|mm|inc|java|glsl)$
|
||||
@ -14,7 +14,7 @@ repos:
|
||||
)
|
||||
|
||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||
rev: 23.3.0
|
||||
rev: 24.2.0
|
||||
hooks:
|
||||
- id: black
|
||||
files: (\.py$|SConstruct|SCsub)
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
All such functions are invoked in a subprocess on Windows to prevent build flakiness.
|
||||
"""
|
||||
|
||||
import zlib
|
||||
|
||||
from platform_methods import subprocess_main
|
||||
|
@ -3,6 +3,7 @@
|
||||
All such functions are invoked in a subprocess on Windows to prevent build flakiness.
|
||||
|
||||
"""
|
||||
|
||||
import os.path
|
||||
|
||||
from typing import Optional
|
||||
|
@ -3,6 +3,7 @@
|
||||
All such functions are invoked in a subprocess on Windows to prevent build flakiness.
|
||||
|
||||
"""
|
||||
|
||||
import os.path
|
||||
from typing import Optional, Iterable
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
All such functions are invoked in a subprocess on Windows to prevent build flakiness.
|
||||
|
||||
"""
|
||||
|
||||
from platform_methods import subprocess_main
|
||||
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
All such functions are invoked in a subprocess on Windows to prevent build flakiness.
|
||||
|
||||
"""
|
||||
|
||||
import os
|
||||
from platform_methods import subprocess_main
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
All such functions are invoked in a subprocess on Windows to prevent build flakiness.
|
||||
|
||||
"""
|
||||
|
||||
import os
|
||||
from platform_methods import subprocess_main
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
All such functions are invoked in a subprocess on Windows to prevent build flakiness.
|
||||
|
||||
"""
|
||||
|
||||
import os
|
||||
from detect import get_mingw_bin_prefix
|
||||
from detect import try_cmd
|
||||
|
@ -1,5 +1,6 @@
|
||||
"""Functions used to generate scu build source files during build time
|
||||
"""
|
||||
|
||||
import glob, os
|
||||
import math
|
||||
from pathlib import Path
|
||||
|
Loading…
Reference in New Issue
Block a user