From: Miro HronĨok Date: Wed, 28 Apr 2021 14:07:15 +0000 (+0200) Subject: Remove useless shebangs in non-executable files (#2161) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/89a856d742d31054bc31a6ff7ffc6ad2d24377d5?hp=04fd4432f6c6007e419d7174930569a75ea60fed 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" --- 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