[PATCH] ezgb: Drop shebang lines from library modules
Maxime Ripard <[email protected]>
| Newsgroups | org.kernel.linux.tools |
|---|---|
| Message-ID | <[email protected]> |
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(-) 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