mirror of
https://github.com/rizinorg/rizin.git
synced 2026-10-11 22:19:51 +00:00
Re-format Python files according to black v25. (#4921)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# 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)
|
||||
|
||||
""" 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 os
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# SPDX-FileCopyrightText: 2021 ret2libc <[email protected]>
|
||||
# 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
|
||||
from sys import argv
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# SPDX-FileCopyrightText: 2021 ret2libc <[email protected]>
|
||||
# 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
|
||||
of the prefixdir from the cmake directory."""
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# SPDX-FileCopyrightText: 2021 ret2libc <[email protected]>
|
||||
# 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 subprocess
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# SPDX-FileCopyrightText: 2021 ret2libc <[email protected]>
|
||||
# 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 sys
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
# SPDX-FileCopyrightText: 2021 ret2libc <[email protected]>
|
||||
# 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 sys
|
||||
|
||||
Reference in New Issue
Block a user