Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added framework_tests/__init__.py
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from sync_tests.utils import helpers

_REPO_ROOT = pl.Path(__file__).resolve().parents[2]
_REPO_ROOT = pl.Path(__file__).resolve().parents[1]


@pytest.fixture
Expand Down
File renamed without changes.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ repository = "https://github.com/IntersectMBO/cardano-sync-tests"
[tool.setuptools]

[tool.setuptools.packages.find]
where = ["."]
include = ["sync_tests*"]

[tool.setuptools.package-data]

[tool.setuptools_scm]

[tool.pytest.ini_options]
testpaths = ["sync_tests/tests"]
testpaths = ["sync_tests/tests", "framework_tests"]
addopts = "-ra -vvv"
log_cli = true
log_level = "INFO"
Expand All @@ -80,6 +82,7 @@ ignore = ["ANN401", "B905", "D10", "D203", "D212", "D213", "D214", "D215", "D404

[tool.ruff.lint.per-file-ignores]
"sync_tests/tests/**.py" = ["ANN"]
"framework_tests/**.py" = ["ANN"]

[tool.ruff.lint.isort]
force-single-line = true
Expand All @@ -100,7 +103,7 @@ warn_unused_configs = true
warn_return_any = true

[tool.pyrefly]
project_includes = ["sync_tests"]
project_includes = ["sync_tests", "framework_tests"]
ignore_errors_in_generated_code = true
use_untyped_imports = true
ignore_missing_source = true