Skip to content

Commit

Permalink
Python: Update .gitignore and remove unused imports (apache#8319)
Browse files Browse the repository at this point in the history
Noticed a few unused imports, and I have some Cython
generated files that we shouldn't commit outside of the
`.gitignore`.
  • Loading branch information
Fokko authored Aug 15, 2023
1 parent bb36f28 commit 06f3929
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,8 @@ derby.log
python/.mypy_cache/
python/htmlcov
python/coverage.xml

python/pyiceberg/avro/decoder_fast.c
python/pyiceberg/avro/*.html
python/pyiceberg/avro/*.so

6 changes: 0 additions & 6 deletions python/pyiceberg/avro/decoder_fast.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,9 @@
# under the License.
import cython
from cython.cimports.cpython import array
from datetime import datetime, time
from uuid import UUID
from pyiceberg.avro import STRUCT_DOUBLE, STRUCT_FLOAT
from pyiceberg.utils.datetime import micros_to_time, micros_to_timestamp, micros_to_timestamptz
from pyiceberg.utils.decimal import unscaled_to_decimal
from pyiceberg.io import InputStream
from cpython.mem cimport PyMem_Malloc, PyMem_Realloc, PyMem_Free
from libc.string cimport memcpy
import decimal

import array

Expand Down

0 comments on commit 06f3929

Please sign in to comment.