Skip to content

Commit 6b3a5c1

Browse files
committed
Move pytest configuration to pyproject.toml
1 parent 78d91df commit 6b3a5c1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pyproject.toml

+7
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@ test = [
3737

3838
[tool.setuptools_scm]
3939
write_to = "outlines/_version.py"
40+
41+
[tool.pytest.ini_options]
42+
testpaths = ["tests"]
43+
filterwarnings = [
44+
"error",
45+
"ignore::FutureWarning:transformers.*"
46+
]

setup.cfg

-7
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,3 @@ per-file-ignores =
66
**/__init__.py:F401,F403
77
exclude =
88
normalai/_version.py
9-
10-
[tool:pytest]
11-
python_files=test*.py
12-
testpaths=tests
13-
filterwarnings =
14-
error
15-
ignore::FutureWarning:transformers.*

0 commit comments

Comments
 (0)