Skip to content

Commit

Permalink
packaging(pytest): Move configuration to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Oct 1, 2023
1 parent 9aef931 commit 38ed5b3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,18 @@ exclude_lines = [
"@overload( |$)",
]

[tool.pytest.ini_options]
addopts = "--reruns=0 --tb=short --no-header --showlocals --doctest-modules"
doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
testpaths = [
"src/unihan_db",
"tests",
"docs",
]
filterwarnings = [
"ignore:The frontend.Option(Parser)? class.*:DeprecationWarning::",
]

[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
9 changes: 0 additions & 9 deletions setup.cfg

This file was deleted.

0 comments on commit 38ed5b3

Please sign in to comment.