From ae20f3bda7b8ade6cd0abcee074807aaaa44b246 Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Tue, 28 May 2024 22:09:40 +0200 Subject: [PATCH 1/2] Remove shebang from filesize.py In #141 shebangs for `number.py` and `time.py` were removed, but `filesystem.py` maintained it. Signed-off-by: Mikel Olasagasti Uranga --- src/humanize/filesize.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/humanize/filesize.py b/src/humanize/filesize.py index 130cf51..e158bb4 100644 --- a/src/humanize/filesize.py +++ b/src/humanize/filesize.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - """Bits and bytes related humanization.""" from __future__ import annotations From 4a37bd18424546116010eaf32e843702802f7182 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 28 May 2024 20:12:49 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/humanize/filesize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/humanize/filesize.py b/src/humanize/filesize.py index e158bb4..ca4d468 100644 --- a/src/humanize/filesize.py +++ b/src/humanize/filesize.py @@ -1,4 +1,5 @@ """Bits and bytes related humanization.""" + from __future__ import annotations suffixes = {