Skip to content

Commit

Permalink
Remove no longer needed __future__ imports (#336)
Browse files Browse the repository at this point in the history
Not needed in Python 3.
  • Loading branch information
thomasst authored Apr 25, 2024
1 parent 8336066 commit 797a013
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 21 deletions.
2 changes: 0 additions & 2 deletions tasktiger/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

from .exceptions import (
JobTimeoutException,
QueueFullException,
Expand Down
2 changes: 0 additions & 2 deletions tasktiger/flask_script.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

import argparse
from typing import TYPE_CHECKING, Any, List

Expand Down
3 changes: 0 additions & 3 deletions tasktiger/rollbar.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Make "import rollbar" import rollbar, and not the current module.
from __future__ import absolute_import

import json
from typing import Any

Expand Down
2 changes: 0 additions & 2 deletions tasktiger/tasktiger.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

import datetime
import importlib
import logging
Expand Down
8 changes: 0 additions & 8 deletions tasktiger/timeouts.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import (
absolute_import,
division,
print_function,
unicode_literals,
)

import signal
from types import TracebackType
from typing import Any, Literal, Optional, Type
Expand Down
2 changes: 0 additions & 2 deletions tests/test_lazy_init.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

import logging
import tempfile

Expand Down
2 changes: 0 additions & 2 deletions tests/test_logging.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

import pytest
import structlog

Expand Down

0 comments on commit 797a013

Please sign in to comment.