From ffda304860566e03ccd9c418826ae10863686bcf Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Tue, 3 Oct 2023 17:40:52 -0400 Subject: [PATCH] chore: Remove shebang --- leather/__init__.py | 2 -- leather/axis.py | 2 -- leather/chart.py | 2 -- leather/data_types.py | 2 -- leather/grid.py | 2 -- leather/lattice.py | 2 -- leather/scales/__init__.py | 2 -- leather/scales/base.py | 2 -- leather/scales/linear.py | 2 -- leather/scales/ordinal.py | 2 -- leather/scales/temporal.py | 2 -- leather/series/__init__.py | 2 -- leather/series/base.py | 2 -- leather/series/category.py | 2 -- leather/shapes/__init__.py | 2 -- leather/shapes/bars.py | 2 -- leather/shapes/base.py | 2 -- leather/shapes/columns.py | 2 -- leather/shapes/dots.py | 2 -- leather/shapes/line.py | 2 -- leather/svg.py | 2 -- leather/testcase.py | 2 -- leather/theme.py | 2 -- leather/ticks/__init__.py | 2 -- leather/ticks/base.py | 2 -- leather/ticks/score.py | 2 -- leather/ticks/score_time.py | 2 -- leather/utils.py | 2 -- 28 files changed, 56 deletions(-) diff --git a/leather/__init__.py b/leather/__init__.py index aa900a7..0953a36 100644 --- a/leather/__init__.py +++ b/leather/__init__.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from leather import theme from leather.axis import Axis from leather.chart import Chart diff --git a/leather/axis.py b/leather/axis.py index 4436e85..8a68713 100644 --- a/leather/axis.py +++ b/leather/axis.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import xml.etree.ElementTree as ET from leather import svg, theme diff --git a/leather/chart.py b/leather/chart.py index bb4b29e..28472be 100644 --- a/leather/chart.py +++ b/leather/chart.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import os import xml.etree.ElementTree as ET diff --git a/leather/data_types.py b/leather/data_types.py index d88d478..103d488 100644 --- a/leather/data_types.py +++ b/leather/data_types.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from datetime import date, datetime from decimal import Decimal diff --git a/leather/grid.py b/leather/grid.py index 022211d..1a54677 100644 --- a/leather/grid.py +++ b/leather/grid.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import math import os import xml.etree.ElementTree as ET diff --git a/leather/lattice.py b/leather/lattice.py index 6357638..82b2e73 100644 --- a/leather/lattice.py +++ b/leather/lattice.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from leather.axis import Axis from leather.chart import Chart from leather.data_types import Date, DateTime diff --git a/leather/scales/__init__.py b/leather/scales/__init__.py index 5df532d..f1ff41d 100644 --- a/leather/scales/__init__.py +++ b/leather/scales/__init__.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from leather.scales.base import Scale from leather.scales.linear import Linear from leather.scales.ordinal import Ordinal diff --git a/leather/scales/base.py b/leather/scales/base.py index b69ae8b..90b90a7 100644 --- a/leather/scales/base.py +++ b/leather/scales/base.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from datetime import date, datetime from leather.data_types import Date, DateTime, Number, Text diff --git a/leather/scales/linear.py b/leather/scales/linear.py index 838d94e..06e441f 100644 --- a/leather/scales/linear.py +++ b/leather/scales/linear.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from decimal import Decimal from leather.scales.base import Scale diff --git a/leather/scales/ordinal.py b/leather/scales/ordinal.py index ee42082..1d4a708 100644 --- a/leather/scales/ordinal.py +++ b/leather/scales/ordinal.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from decimal import Decimal from leather.scales.base import Scale diff --git a/leather/scales/temporal.py b/leather/scales/temporal.py index 0dc542b..4075daf 100644 --- a/leather/scales/temporal.py +++ b/leather/scales/temporal.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from leather.scales.base import Scale from leather.ticks.score_time import ScoreTimeTicker diff --git a/leather/series/__init__.py b/leather/series/__init__.py index d096660..c070a32 100644 --- a/leather/series/__init__.py +++ b/leather/series/__init__.py @@ -1,4 +1,2 @@ -#!/usr/bin/env python - from leather.series.base import Series, key_function from leather.series.category import CategorySeries diff --git a/leather/series/base.py b/leather/series/base.py index edcd52a..adc14c5 100644 --- a/leather/series/base.py +++ b/leather/series/base.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from leather.data_types import DataType from leather.utils import DIMENSION_NAMES, Datum, X, Y diff --git a/leather/series/category.py b/leather/series/category.py index 1cec06f..f15f2ef 100644 --- a/leather/series/category.py +++ b/leather/series/category.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from leather.series.base import Series from leather.utils import Datum, X, Y, Z diff --git a/leather/shapes/__init__.py b/leather/shapes/__init__.py index c5354e3..23a1479 100644 --- a/leather/shapes/__init__.py +++ b/leather/shapes/__init__.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from leather.shapes.bars import Bars from leather.shapes.base import Shape, style_function from leather.shapes.columns import Columns diff --git a/leather/shapes/bars.py b/leather/shapes/bars.py index 54cb1f3..ac7fc1c 100644 --- a/leather/shapes/bars.py +++ b/leather/shapes/bars.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import xml.etree.ElementTree as ET from leather.data_types import Number, Text diff --git a/leather/shapes/base.py b/leather/shapes/base.py index 2d0ff7b..f3c614c 100644 --- a/leather/shapes/base.py +++ b/leather/shapes/base.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import xml.etree.ElementTree as ET from leather import theme diff --git a/leather/shapes/columns.py b/leather/shapes/columns.py index eacc501..26772ad 100644 --- a/leather/shapes/columns.py +++ b/leather/shapes/columns.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import xml.etree.ElementTree as ET from leather.data_types import Number, Text diff --git a/leather/shapes/dots.py b/leather/shapes/dots.py index 2c1bdd2..526deb9 100644 --- a/leather/shapes/dots.py +++ b/leather/shapes/dots.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import xml.etree.ElementTree as ET from collections import defaultdict diff --git a/leather/shapes/line.py b/leather/shapes/line.py index 40b2f53..4749fcb 100644 --- a/leather/shapes/line.py +++ b/leather/shapes/line.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import xml.etree.ElementTree as ET from leather import theme diff --git a/leather/svg.py b/leather/svg.py index 467c802..14af86c 100644 --- a/leather/svg.py +++ b/leather/svg.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - """ Helpers for working with SVG. """ diff --git a/leather/testcase.py b/leather/testcase.py index a11be9a..605d82a 100644 --- a/leather/testcase.py +++ b/leather/testcase.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import unittest diff --git a/leather/theme.py b/leather/theme.py index f678e03..5f99c09 100644 --- a/leather/theme.py +++ b/leather/theme.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - """ This module contains all style configuration for rendering charts. Setting any of these variables will change how charts are rendered. diff --git a/leather/ticks/__init__.py b/leather/ticks/__init__.py index 97d838a..5d69e3b 100644 --- a/leather/ticks/__init__.py +++ b/leather/ticks/__init__.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from leather.ticks.base import Ticker from leather.ticks.score import ScoreTicker from leather.ticks.score_time import ScoreTimeTicker diff --git a/leather/ticks/base.py b/leather/ticks/base.py index 88abc59..4f6e7d9 100644 --- a/leather/ticks/base.py +++ b/leather/ticks/base.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - class Ticker: """ diff --git a/leather/ticks/score.py b/leather/ticks/score.py index ec8f548..31b5152 100644 --- a/leather/ticks/score.py +++ b/leather/ticks/score.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from decimal import ROUND_CEILING, ROUND_FLOOR, Decimal from math import isclose diff --git a/leather/ticks/score_time.py b/leather/ticks/score_time.py index bc76ab8..149d58b 100644 --- a/leather/ticks/score_time.py +++ b/leather/ticks/score_time.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import math from datetime import date, datetime from functools import partial diff --git a/leather/utils.py b/leather/utils.py index d23ecf6..9c392c8 100644 --- a/leather/utils.py +++ b/leather/utils.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import warnings from collections import namedtuple from datetime import date, datetime, timedelta