Skip to content

Commit 138f798

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

16 files changed

+31
-1
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ install_requires =
3232
click
3333
latex-dependency-scanner
3434
pytask>=0.1.0
35-
python_requires = >=3.7
35+
python_requires = >=3.6
3636
include_package_data = True
3737
package_dir = =src
3838
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

src/pytask_latex/__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_latex/collect.py

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

src/pytask_latex/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
from _pytask.config import hookimpl
35
from _pytask.shared import convert_truthy_or_falsy_to_bool
46
from _pytask.shared import get_first_non_none_value

src/pytask_latex/execute.py

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

46
from _pytask.config import hookimpl

src/pytask_latex/parametrize.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""Parametrize tasks."""
2+
from __future__ import annotations
3+
24
from _pytask.config import hookimpl
35
from _pytask.mark import MARK_GEN as mark # noqa: N811
46

src/pytask_latex/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_latex import collect
46
from pytask_latex import config

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""Configuration file for pytest."""
2+
from __future__ import annotations
3+
24
import os
35
import shutil
46
import sys

tests/test_collect.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 contextlib import ExitStack as does_not_raise # noqa: N813
24
from pathlib import Path
35

0 commit comments

Comments
 (0)