Re-format Python files according to black v25. (#4921)
This commit is contained in:
parent
e76b9e2d60
commit
a0b28bc574
6 changed files with 6 additions and 6 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
# This script is necessary to make sure people notice a subproject has been
|
# This script is necessary to make sure people notice a subproject has been
|
||||||
# changed and need to be updated. Meson does not warn you now (0.56.0)
|
# changed and need to be updated. Meson does not warn you now (0.56.0)
|
||||||
|
|
||||||
""" Portable python script to check if subproject is up-to-date and warn if not """
|
"""Portable python script to check if subproject is up-to-date and warn if not"""
|
||||||
|
|
||||||
import filecmp
|
import filecmp
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only
|
# SPDX-License-Identifier: LGPL-3.0-only
|
||||||
|
|
||||||
""" Portable python script to create tags.rz file from a list of files """
|
"""Portable python script to create tags.rz file from a list of files"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from sys import argv
|
from sys import argv
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only
|
# SPDX-License-Identifier: LGPL-3.0-only
|
||||||
|
|
||||||
""" Python script to workaround issue mesonbuild/meson#9702
|
"""Python script to workaround issue mesonbuild/meson#9702
|
||||||
(https://github.com/mesonbuild/meson/issues/9702). It returns the relative path
|
(https://github.com/mesonbuild/meson/issues/9702). It returns the relative path
|
||||||
of the prefixdir from the cmake directory."""
|
of the prefixdir from the cmake directory."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only
|
# SPDX-License-Identifier: LGPL-3.0-only
|
||||||
|
|
||||||
""" Portable python script to execute git -C (even on system where -C is not available) """
|
"""Portable python script to execute git -C (even on system where -C is not available)"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only
|
# SPDX-License-Identifier: LGPL-3.0-only
|
||||||
|
|
||||||
""" Portable python script to preprocess syscall/d files """
|
"""Portable python script to preprocess syscall/d files"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
# SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only
|
# SPDX-License-Identifier: LGPL-3.0-only
|
||||||
|
|
||||||
""" Portable python script to read version from meson.build until meson provides a proper way """
|
"""Portable python script to read version from meson.build until meson provides a proper way"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue