Skip to content

Commit c77d1b5

Browse files
committed
Update tests
1 parent de15c1d commit c77d1b5

File tree

2 files changed

+134
-19
lines changed

2 files changed

+134
-19
lines changed

pyproject.toml

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ name = "your-package-name"
77
dynamic = ["version"]
88
requires-python = ">=3.11"
99
dependencies = []
10-
authors = [
11-
{ name="Ben Welsh", email="[email protected]" },
12-
]
10+
authors = [{ name = "Ben Welsh", email = "[email protected]" }]
1311
description = "Your package description"
14-
license = {text = "MIT"}
12+
license = { text = "MIT" }
1513
readme = "README.md"
1614
classifiers = [
1715
"Development Status :: 5 - Production/Stable",
@@ -26,18 +24,21 @@ classifiers = [
2624
]
2725

2826
[project.optional-dependencies]
29-
dev = [
30-
"pre-commit",
31-
"setuptools-scm",
32-
"pyright",
33-
"vulture",
34-
]
27+
dev = ["pre-commit", "setuptools-scm", "pyright", "vulture"]
3528
test = [
36-
"pytest-runner",
29+
"pytest",
3730
"pytest-cov",
3831
"pytest-env",
32+
"pytest-ordering",
33+
"pytest-randomly",
34+
"pytest-rerunfailures",
35+
"pytest-runner",
36+
"pytest-sugar",
37+
"pytest-timeout",
3938
"pytest-vcr",
4039
"pytest-xdist",
40+
"freezegun",
41+
"hypothesis",
4142
]
4243
docs = [
4344
"sphinx",
@@ -120,7 +121,7 @@ ignore = [
120121
docstring-code-format = true
121122

122123
[tool.pytest.ini_options]
123-
addopts = "--strict-markers --cov=reuters_data_wire --cov-branch --cov-report=term-missing:skip-covered --cov-context=test --cov-fail-under=70 -n auto --timeout=60"
124+
# addopts = "--strict-markers --cov=your_package_name --cov-branch --cov-report=term-missing:skip-covered --cov-context=test --cov-fail-under=70 -n auto --timeout=60"
124125
testpaths = ["tests"]
125126
python_files = "test_*.py"
126127
markers = [
@@ -145,13 +146,7 @@ omit = ["*/__pycache__/*"]
145146
venvPath = "."
146147
venv = ".venv"
147148
# include = ["your_package_name"]
148-
exclude = [
149-
"tests",
150-
"build",
151-
".venv",
152-
"_notebooks",
153-
"**/__pycache__",
154-
]
149+
exclude = ["tests", "build", ".venv", "_notebooks", "**/__pycache__"]
155150

156151
# Type checking mode - "off", "basic", "standard", or "strict"
157152
typeCheckingMode = "standard"

uv.lock

Lines changed: 120 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)