From 89a856d742d31054bc31a6ff7ffc6ad2d24377d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 28 Apr 2021 16:07:15 +0200 Subject: [PATCH] Remove useless shebangs in non-executable files (#2161) Such shebangs are only ever used if the file is executed directly, i.e.: $ /usr/lib/python3.9/site-packages/black_primer/cli.py But that doesn't work: $ /usr/lib/python3.9/site-packages/black_primer/cli.py bash: /usr/lib/python3.9/site-packages/black_primer/cli.py: Permission denied The lib file even has: "lib is a library, funnily enough" --- src/black_primer/cli.py | 2 -- src/black_primer/lib.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/black_primer/cli.py b/src/black_primer/cli.py index 5903adc..b2d4159 100644 --- a/src/black_primer/cli.py +++ b/src/black_primer/cli.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 - # coding=utf8 import asyncio diff --git a/src/black_primer/lib.py b/src/black_primer/lib.py index 7999f6a..ecc704f 100644 --- a/src/black_primer/lib.py +++ b/src/black_primer/lib.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 - import asyncio import errno import json -- 2.39.5