Skip to content

Commit da602ac

Browse files
committed
chore: ty does not need to run using tox
`ty` chooses Python version based on pyproject.toml, no need to use `tox`. JIRA: TRIVIAL risk: low
1 parent 0ebfbad commit da602ac

17 files changed

Lines changed: 8 additions & 208 deletions

File tree

packages/gooddata-dbt/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ test = [
4040
"pytest-cov~=6.0.0",
4141
"pytest-json-report==1.5.0",
4242
]
43-
type = [
44-
"mypy~=1.11.2",
45-
"pydantic~=2.12.0",
46-
]
4743

4844
[tool.ty.analysis]
4945
allowed-unresolved-imports = ["deep_translator", "github"]

packages/gooddata-dbt/tox.ini

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,3 @@ setenv =
1212
COVERAGE_CORE=sysmon
1313
commands =
1414
pytest -v --cov=src/gooddata_dbt --cov-report=xml tests {posargs} --json-report --json-report-file=.json-report-{envname}.json
15-
16-
[testenv:type-check]
17-
runner = uv-venv-lock-runner
18-
skip_install = true
19-
dependency_groups =
20-
type
21-
commands =
22-
uv run ty check src/gooddata_dbt

packages/gooddata-fdw/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ test = [
5858
"pyyaml",
5959
"tests_support",
6060
]
61-
type = [
62-
"mypy~=1.11.2",
63-
"pydantic~=2.12.0",
64-
]
6561

6662
[tool.ty.analysis]
6763
allowed-unresolved-imports = ["multicorn"]

packages/gooddata-fdw/tox.ini

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ setenv =
1313
commands =
1414
pytest -v --cov=src/gooddata_fdw --cov-report=xml tests {posargs} --json-report --json-report-file=.json-report-{envname}.json
1515

16-
[testenv:type-check]
17-
runner = uv-venv-lock-runner
18-
skip_install = true
19-
dependency_groups =
20-
type
21-
commands =
22-
uv run ty check src/gooddata_fdw
23-
2416
[testenv:docs]
2517
basepython = python3.14
2618
skip_install = true

packages/gooddata-flexconnect/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ test = [
6060
"pytest-cov~=6.0.0",
6161
"pytest-json-report==1.5.0",
6262
]
63-
type = [
64-
"mypy~=1.11.2",
65-
"pydantic~=2.12.0",
66-
]
6763

6864
[tool.ty.analysis]
6965
allowed-unresolved-imports = ["jsonschema.**", "referencing"]

packages/gooddata-flexconnect/tox.ini

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ setenv =
1313
commands =
1414
pytest -v --cov=src/gooddata_flexconnect --cov-report=xml tests {posargs} --json-report --json-report-file=.json-report-{envname}.json
1515

16-
[testenv:type-check]
17-
runner = uv-venv-lock-runner
18-
skip_install = true
19-
dependency_groups =
20-
type
21-
commands =
22-
uv run ty check src/gooddata_flexconnect
23-
2416
[testenv:docs]
2517
basepython = python3.14
2618
skip_install = true

packages/gooddata-flight-server/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ test = [
6464
"pytest-cov~=6.0.0",
6565
"pytest-json-report==1.5.0",
6666
]
67-
type = [
68-
"mypy~=1.11.2",
69-
"pydantic~=2.12.0",
70-
]
7167

7268
[tool.ty.analysis]
7369
allowed-unresolved-imports = [

packages/gooddata-flight-server/tox.ini

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ setenv =
1313
commands =
1414
pytest -v --cov=src/gooddata_flight_server --cov-report=xml tests {posargs} --json-report --json-report-file=.json-report-{envname}.json
1515

16-
[testenv:type-check]
17-
runner = uv-venv-lock-runner
18-
skip_install = true
19-
dependency_groups =
20-
type
21-
commands =
22-
uv run ty check src/gooddata_flight_server
23-
2416
[testenv:docs]
2517
basepython = python3.14
2618
skip_install = true

packages/gooddata-pandas/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ test = [
6464
"pyyaml",
6565
"tests_support",
6666
]
67-
type = [
68-
"mypy~=1.11.2",
69-
"pydantic~=2.12.0",
70-
]
7167

7268
[tool.ty.analysis]
7369
allowed-unresolved-imports = ["gooddata_api_client"]

packages/gooddata-pandas/tox.ini

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ setenv =
1313
commands =
1414
pytest -v --cov=src/gooddata_pandas --cov-report=xml tests {posargs} --json-report --json-report-file=.json-report-{envname}.json
1515

16-
[testenv:type-check]
17-
runner = uv-venv-lock-runner
18-
skip_install = true
19-
dependency_groups =
20-
type
21-
commands =
22-
uv run ty check src/gooddata_pandas
23-
2416
[testenv:docs]
2517
basepython = python3.14
2618
skip_install = true

0 commit comments

Comments
 (0)