All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <mripard@kernel.org>
To: tools@kernel.org
Cc: Konstantin Ryabitsev <mricon@kernel.org>,
	Maxime Ripard <mripard@kernel.org>
Subject: [PATCH] ezgb: Drop shebang lines from library modules
Date: Fri, 14 Aug 2026 14:31:04 +0200	[thread overview]
Message-ID: <20260814123104.1616487-1-mripard@kernel.org> (raw)

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


                 reply	other threads:[~2026-08-14 12:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260814123104.1616487-1-mripard@kernel.org \
    --to=mripard@kernel.org \
    --cc=mricon@kernel.org \
    --cc=tools@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.