Skip to content

Commit e95e3a6

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

File tree

8 files changed

+12
-8
lines changed

8 files changed

+12
-8
lines changed

.github/ISSUE_TEMPLATE/enhancement.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ______________________________________________________________________
88
#### Is your feature request related to a problem?
99

1010
Provide a description of what the problem is, e.g. "I wish I could use
11-
pytask-environment to do \[...\]".
11+
pytask-environment to do [...]".
1212

1313
#### Describe the solution you'd like
1414

setup.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ url = https://github.com/pytask-dev/pytask-environment
77
author = Tobias Raabe
88
author_email = [email protected]
99
license = MIT
10-
license_file = LICENSE
10+
license_files = LICENSE
1111
platforms = any
1212
classifiers =
1313
Development Status :: 4 - Beta
@@ -27,7 +27,7 @@ install_requires =
2727
click
2828
pony
2929
pytask>=0.2
30-
python_requires = >=3.7
30+
python_requires = >=3.9
3131
include_package_data = True
3232
package_dir = =src
3333
zip_safe = False

src/pytask_environment/config.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module contains everything related to the configuration."""
2+
23
from __future__ import annotations
34

45
from typing import Any

src/pytask_environment/database.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module contains everything related to the database."""
2+
23
from __future__ import annotations
34

45
from pony import orm

src/pytask_environment/logging.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module contains everything related to logging."""
2+
23
from __future__ import annotations
34

45
import sys

src/pytask_environment/plugin.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Entry-point for the plugin."""
2+
23
from __future__ import annotations
34

45
from pluggy import PluginManager

tests/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
from click.testing import CliRunner
55

66

7-
@pytest.fixture()
7+
@pytest.fixture
88
def runner():
99
return CliRunner()

tests/test_logging.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from _pytask.database_utils import db
1717

1818

19-
@pytest.mark.end_to_end()
19+
@pytest.mark.end_to_end
2020
def test_existence_of_python_executable_in_db(tmp_path, runner):
2121
"""Test that the Python executable is stored in the database."""
2222
task_path = tmp_path.joinpath("task_dummy.py")
@@ -38,7 +38,7 @@ def test_existence_of_python_executable_in_db(tmp_path, runner):
3838
orm.delete(e for e in entity)
3939

4040

41-
@pytest.mark.end_to_end()
41+
@pytest.mark.end_to_end
4242
def test_flow_when_python_version_has_changed(monkeypatch, tmp_path, runner):
4343
"""Test the whole use-case.
4444
@@ -96,7 +96,7 @@ def test_flow_when_python_version_has_changed(monkeypatch, tmp_path, runner):
9696
orm.delete(e for e in entity)
9797

9898

99-
@pytest.mark.end_to_end()
99+
@pytest.mark.end_to_end
100100
@pytest.mark.parametrize(
101101
("check_python_version", "expected"), [("true", 1), ("false", 0)]
102102
)
@@ -131,7 +131,7 @@ def test_python_version_changed(
131131
orm.delete(e for e in entity)
132132

133133

134-
@pytest.mark.end_to_end()
134+
@pytest.mark.end_to_end
135135
@pytest.mark.parametrize(
136136
("check_python_version", "expected"), [("true", 1), ("false", 0)]
137137
)

0 commit comments

Comments
 (0)