Skip to content

Commit

Permalink
Discard __future__ imports left over from Python 2 (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos authored Sep 21, 2023
1 parent e8dd3e4 commit a7e575f
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 11 deletions.
2 changes: 0 additions & 2 deletions fsspec/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, division, print_function

import io
import logging
import os
Expand Down
2 changes: 0 additions & 2 deletions fsspec/implementations/http.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, division, print_function

import asyncio
import io
import logging
Expand Down
2 changes: 0 additions & 2 deletions fsspec/implementations/libarchive.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, division, print_function

from contextlib import contextmanager
from ctypes import (
CFUNCTYPE,
Expand Down
2 changes: 1 addition & 1 deletion fsspec/implementations/memory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import absolute_import, annotations, division, print_function
from __future__ import annotations

import logging
from datetime import datetime, timezone
Expand Down
2 changes: 0 additions & 2 deletions fsspec/implementations/tests/test_local.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, division, print_function

import bz2
import gzip
import os
Expand Down
2 changes: 0 additions & 2 deletions fsspec/implementations/zip.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, division, print_function

import zipfile

import fsspec
Expand Down

0 comments on commit a7e575f

Please sign in to comment.