Skip to content

Commit c7cb8cc

Browse files
authored
Merge pull request #9 from mutating/develop
0.0.9
2 parents 8b02d5f + 0a0e843 commit c7cb8cc

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pristan"
7-
version = "0.0.8"
7+
version = "0.0.9"
88
authors = [{ name = "Evgeniy Blinov", email = "zheni-b@yandex.ru" }]
99
description = "Function-based plugin system with respect to typing"
1010
readme = "README.md"

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ pytest-mypy-testing==0.1.3
77
ruff==0.14.6
88
mutmut==3.2.3
99
full_match==0.0.3
10-
transfunctions==0.0.11
10+
transtests==0.0.1

tests/units/conftest.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@
22
from typing import Dict, List
33

44
import pytest
5-
from transfunctions import transfunction
6-
7-
8-
@pytest.fixture(params=['async', 'sync', 'generator'])
9-
def transformed(request):
10-
def transformator_function(function):
11-
if request.param == 'sync':
12-
return function
13-
if request.param == 'async':
14-
return transfunction(function, check_decorators=False).get_async_function()
15-
if request.param == 'generator':
16-
return transfunction(function, check_decorators=False).get_generator_function()
17-
return transformator_function
185

196

207
@pytest.fixture(params=[Dict, dict])

0 commit comments

Comments
 (0)