Skip to content

Commit

Permalink
chore: Run pyupgrade --py38-plus **/*.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 10, 2023
1 parent 7c82599 commit 9331192
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion agate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import agate.csv_py3 as csv
from agate.aggregations import *
from agate.columns import Column
Expand Down
1 change: 0 additions & 1 deletion agate/aggregations/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

from agate.exceptions import UnsupportedAggregationError


Expand Down
1 change: 0 additions & 1 deletion agate/computations/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Computation: # pragma: no cover
"""
Computations produce a new column by performing a calculation on each row.
Expand Down
1 change: 0 additions & 1 deletion agate/computations/percent.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.sum import Sum
from agate.computations.base import Computation
Expand Down
1 change: 0 additions & 1 deletion agate/data_types/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

from agate.exceptions import CastError

#: Default values which will be automatically cast to :code:`None`
Expand Down
1 change: 0 additions & 1 deletion agate/data_types/text.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

from agate.data_types.base import DataType


Expand Down
1 change: 0 additions & 1 deletion agate/table/find.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

def find(self, test):
"""
Find the first row that passes a test.
Expand Down
1 change: 0 additions & 1 deletion agate/table/limit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

def limit(self, start_or_stop=None, stop=None, step=None):
"""
Create a new table with fewer rows.
Expand Down
1 change: 0 additions & 1 deletion agate/table/pivot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

from agate import utils
from agate.aggregations import Count

Expand Down
1 change: 0 additions & 1 deletion agate/table/where.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

def where(self, test):
"""
Create a new :class:`.Table` with only those rows that pass a test.
Expand Down
1 change: 0 additions & 1 deletion agate/tableset/having.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

def having(self, aggregations, test):
"""
Create a new :class:`.TableSet` with only those tables that pass a test.
Expand Down
1 change: 0 additions & 1 deletion agate/tableset/proxy_methods.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

def bins(self, *args, **kwargs):
"""
Calls :meth:`.Table.bins` on each table in the TableSet.
Expand Down
1 change: 0 additions & 1 deletion tests/test_from_json.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

from agate import Table
from agate.data_types import Boolean, Date, DateTime, Number, Text, TimeDelta
from agate.testcase import AgateTestCase
Expand Down
1 change: 0 additions & 1 deletion tests/test_table/test_compute.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

from agate import Table
from agate.computations import Formula
from agate.data_types import Number, Text
Expand Down

0 comments on commit 9331192

Please sign in to comment.