Skip to content

Commit bfe359d

Browse files
chore(tooling): move config from pytest-framework.ini to pyproject.toml (#1898)
Co-authored-by: Mario Vega <[email protected]>
1 parent a78d80e commit bfe359d

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ uv run fill --fork=Prague path/to/test.py --clean -v -m "not slow"
4848
uv run consume direct --bin=evm fixtures/
4949

5050
# Framework testing
51-
uv run pytest -c pytest-framework.ini path/to/test.py::test_function
51+
uv run pytest path/to/test.py::test_function
5252
```
5353

5454
### Quality Checks
@@ -67,7 +67,7 @@ uv run ruff check --fix src tests .github/scripts
6767
uv run mypy src tests .github/scripts
6868

6969
# Framework unit tests
70-
uv run pytest -c pytest-framework.ini -n auto
70+
uv run pytest -n auto
7171

7272
# Run specific checks (fast checks)
7373
uvx --with=tox-uv tox -e lint,typecheck,spellcheck

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,23 @@ skip = ".venv,__pycache__,.git,build,dist,*.pyc,*.lock"
151151
check-filenames = true
152152
ignore-words-list = "ingenuous"
153153

154+
[tool.pytest.ini_options]
155+
console_output_style = "count"
156+
minversion = "7.0"
157+
python_files = [
158+
"test_*.py"
159+
]
160+
testpaths = [
161+
"src"
162+
]
163+
addopts = [
164+
"-p", "pytester",
165+
"-p", "pytest_plugins.eels_resolver",
166+
"--ignore=src/pytest_plugins/consume/test_cache.py",
167+
"--ignore=src/pytest_plugins/consume/direct/",
168+
"--ignore=src/pytest_plugins/consume/simulators/",
169+
]
170+
154171
[tool.uv]
155172
required-version = ">=0.7.0"
156173

pytest-framework.ini

Lines changed: 0 additions & 13 deletions
This file was deleted.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ extras =
7171
test
7272
lint # Required `gentest` for formatting tests
7373
commands =
74-
pytest -c ./pytest-framework.ini -n auto
74+
pytest -n auto
7575

7676

7777
[forks]

0 commit comments

Comments
 (0)