All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ezgb: Drop shebang lines from library modules
@ 2026-08-14 12:31 Maxime Ripard
  0 siblings, 0 replies; only message in thread
From: Maxime Ripard @ 2026-08-14 12:31 UTC (permalink / raw)
  To: tools; +Cc: Konstantin Ryabitsev, 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 <mripard@kernel.org>
---
 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(-)

diff --git a/src/ezgb/__init__.py b/src/ezgb/__init__.py
index 31867fdbe39e..d78d18fb47b8 100644
--- a/src/ezgb/__init__.py
+++ b/src/ezgb/__init__.py
@@ -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."""
 
diff --git a/src/ezgb/_git.py b/src/ezgb/_git.py
index c1c326bd6020..f91e517aa00d 100644
--- a/src/ezgb/_git.py
+++ b/src/ezgb/_git.py
@@ -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."""
 
diff --git a/src/ezgb/_models.py b/src/ezgb/_models.py
index 72eb75959d77..d5d7976ac4d0 100644
--- a/src/ezgb/_models.py
+++ b/src/ezgb/_models.py
@@ -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."""
 
diff --git a/src/ezgb/_reader.py b/src/ezgb/_reader.py
index cfd752816ac7..aa2a744bc174 100644
--- a/src/ezgb/_reader.py
+++ b/src/ezgb/_reader.py
@@ -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."""
 
diff --git a/src/ezgb/_writer.py b/src/ezgb/_writer.py
index adacfa153f32..7e75fe5e9a17 100644
--- a/src/ezgb/_writer.py
+++ b/src/ezgb/_writer.py
@@ -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."""
 
-- 
2.55.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-14 12:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-14 12:31 [PATCH] ezgb: Drop shebang lines from library modules Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.