Skip to content
Merged
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
24 changes: 15 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ keywords = ["causal inference", "verification"]
dependencies = [
"lifelines~=0.30.0",
"networkx>=3.4,<3.5",
"numpy>=1.2.6, <=2.2.0",
"numpy>=1.26.0,<=2.2.0",
"pandas>=2.1",
"scikit_learn~=1.4",
"scipy>=1.12.0,<=1.16.2",
Expand Down Expand Up @@ -51,15 +51,15 @@ dev = [
"pre-commit",
"tox"
]

test = [
"covasim~=3.0.7",
"covasim~=3.0.7"
]

[project.urls]
Bug_Tracker = "https://github.com/CITCOM-project/CausalTestingFramework/issues"
Homepage = "https://sites.google.com/sheffield.ac.uk/citcom/home"
Documentation = "https://causal-testing-framework.readthedocs.io/"
Source = "https://github.com/CITCOM-project/CausalTestingFramework"
Repository = "https://github.com/CITCOM-project/CausalTestingFramework"
Issues = "https://github.com/CITCOM-project/CausalTestingFramework/issues"

[tool.setuptools.packages]
find = {}
Expand All @@ -77,15 +77,21 @@ profile = "black"
line_length = 120

[tool.pytest.ini_options]
filterwarnings = [
"ignore:datetime.datetime.utcnow:DeprecationWarning:lifelines",
"ignore::DeprecationWarning:jupyter_client.*",
"ignore::RuntimeWarning:zmq.*",
]
minversion = "6.0"
python_files=[
python_files = [
"test_*.py",
"example_*.py"]
"example_*.py"
]

[tool.tox]
requires = ["tox>=4.19"]
env_list = ["3.10", "3.11", "3.12", "3.13"]
skip_missing_interpreters = false # fail if devs don’t have all required Python versions
skip_missing_interpreters = false # fail if devs don’t have all required Python versions

# Base configuration for all test environments
[tool.tox.env_run_base]
Expand All @@ -102,4 +108,4 @@ deps = [
"types-cachetools>=5.5.0.20240820",
"types-chardet>=5.0.4.6"
]
commands = [["mypy", "causal_testing"], ["mypy", "tests"]]
commands = [["mypy", "causal_testing"], ["mypy", "tests"]]