Skip to content

Commit 045246d

Browse files
committed
fix: pyproject.toml
1 parent f3d2915 commit 045246d

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ keywords = ["causal inference", "verification"]
1717
dependencies = [
1818
"lifelines~=0.30.0",
1919
"networkx>=3.4,<3.5",
20-
"numpy>=1.2.6, <=2.2.0",
20+
"numpy>=1.26.0,<=2.2.0",
2121
"pandas>=2.1",
2222
"scikit_learn~=1.4",
2323
"scipy>=1.12.0,<=1.16.2",
@@ -51,15 +51,15 @@ dev = [
5151
"pre-commit",
5252
"tox"
5353
]
54-
5554
test = [
56-
"covasim~=3.0.7",
55+
"covasim~=3.0.7"
5756
]
5857

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

6464
[tool.setuptools.packages]
6565
find = {}
@@ -77,15 +77,21 @@ profile = "black"
7777
line_length = 120
7878

7979
[tool.pytest.ini_options]
80+
filterwarnings = [
81+
"ignore:datetime.datetime.utcnow:DeprecationWarning:lifelines",
82+
"ignore::DeprecationWarning:jupyter_client.*",
83+
"ignore::RuntimeWarning:zmq.*",
84+
]
8085
minversion = "6.0"
81-
python_files=[
86+
python_files = [
8287
"test_*.py",
83-
"example_*.py"]
88+
"example_*.py"
89+
]
8490

8591
[tool.tox]
8692
requires = ["tox>=4.19"]
8793
env_list = ["3.10", "3.11", "3.12", "3.13"]
88-
skip_missing_interpreters = false # fail if devs don’t have all required Python versions
94+
skip_missing_interpreters = false # fail if devs don’t have all required Python versions
8995

9096
# Base configuration for all test environments
9197
[tool.tox.env_run_base]
@@ -102,4 +108,4 @@ deps = [
102108
"types-cachetools>=5.5.0.20240820",
103109
"types-chardet>=5.0.4.6"
104110
]
105-
commands = [["mypy", "causal_testing"], ["mypy", "tests"]]
111+
commands = [["mypy", "causal_testing"], ["mypy", "tests"]]

0 commit comments

Comments
 (0)