Skip to content

Commit d6a09f8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent badbbaa commit d6a09f8

File tree

15 files changed

+29
-1
lines changed

15 files changed

+29
-1
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ install_requires =
3333
cloudpickle
3434
loky
3535
pytask>=0.1.0
36-
python_requires = >=3.7
36+
python_requires = >=3.6
3737
include_package_data = True
3838
package_dir = =src
3939
zip_safe = False

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from setuptools import setup
24

35
if __name__ == "__main__":

src/pytask_parallel/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
try:
24
from ._version import version as __version__
35
except ImportError:

src/pytask_parallel/backends.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""This module configures the available backends."""
2+
from __future__ import annotations
3+
24
from concurrent.futures import ProcessPoolExecutor
35
from concurrent.futures import ThreadPoolExecutor
46

src/pytask_parallel/build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""Extend the build command."""
2+
from __future__ import annotations
3+
24
import click
35
from _pytask.config import hookimpl
46
from pytask_parallel.backends import PARALLEL_BACKENDS

src/pytask_parallel/callbacks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""Validate command line inputs and configuration values."""
2+
from __future__ import annotations
3+
24
from pytask_parallel.backends import PARALLEL_BACKENDS
35

46

src/pytask_parallel/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""Configure pytask."""
2+
from __future__ import annotations
3+
24
import os
35

46
from _pytask.config import hookimpl

src/pytask_parallel/execute.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""Contains code relevant to the execution."""
2+
from __future__ import annotations
3+
24
import sys
35
import time
46
from typing import Any

src/pytask_parallel/logging.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""Contains code relevant to logging."""
2+
from __future__ import annotations
3+
24
from _pytask.config import hookimpl
35
from _pytask.console import console
46

src/pytask_parallel/plugin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""Entry-point for the plugin."""
2+
from __future__ import annotations
3+
24
from _pytask.config import hookimpl
35
from pytask_parallel import build
46
from pytask_parallel import config

0 commit comments

Comments
 (0)