ezgb: Drop shebang lines from library modules
PATCH 1/1 ezgb: Drop shebang lines from library modules
rpmlint reports non-executable-script errors on all ezgb Python modules. These files are installed as regular library modules with 0644 permissions, so the shebang line is unnecessary and triggers the diagnostic.
Remove the shebang from all five modules.
Signed-off-by Maxime Ripard <[email protected]>
--- src/ezgb/__init__.py | 1 - src/ezgb/_git.py | 1 - src/ezgb/_models.py | 1 - src/ezgb/_reader.py | 1 - src/ezgb/_writer.py | 1 - 5 files changed, 5 deletions(-)
src/ezgb/__init__.py +0 -1
@@ -1,6 +1,5 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2024 by the Linux Foundation """ezgb: a standalone Python library for git-bug repositories."""
src/ezgb/_git.py +0 -1
@@ -1,6 +1,5 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2024 by the Linux Foundation """Thin git subprocess helpers for ezgb."""
src/ezgb/_models.py +0 -1
@@ -1,6 +1,5 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2024 by the Linux Foundation """Data models, enums, exceptions, and constants for ezgb."""
src/ezgb/_reader.py +0 -1
@@ -1,6 +1,5 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2024 by the Linux Foundation """Git object reading, operation pack replay, and caching for ezgb."""
src/ezgb/_writer.py +0 -1
@@ -1,6 +1,5 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2024 by the Linux Foundation """CLI wrappers for git-bug write operations."""
Signature · 1 line
2.55.0
Quoted 8 lines · Maxime Ripard
rpmlint reports non-executable-script errors on all ezgb Python modules. These files are installed as regular library modules with 0644 permissions, so the shebang line is unnecessary and triggers the diagnostic.
Remove the shebang from all five modules.
Signed-off-by Maxime Ripard <[email protected]>
Ping?
Maxime