Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 2 additions & 3 deletions check/pytest
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ for arg in "$@"; do
done

if [ -z "${ACTUALLY_QUIET}" ]; then
pytest -c dev_tools/conf/pytest.ini --rootdir="$rootdir" "${PYTEST_ARGS[@]}"
pytest --rootdir="$rootdir" "${PYTEST_ARGS[@]}"
else
# Filter out lines like "...F....x... [ 42%]", with coloring.
pytest -c dev_tools/conf/pytest.ini \
--rootdir="$rootdir" -q --color=yes "${PYTEST_ARGS[@]}" | \
pytest --rootdir="$rootdir" -q --color=yes "${PYTEST_ARGS[@]}" | \
grep -Ev '^(\x1B\[0m)?[\.FEsx]+(\x1B\[36m)?[[:space:]]+\[[[:space:]]*[0-9]+%\](\x1B\[0m)?$'
exit "${PIPESTATUS[0]}"
fi
20 changes: 0 additions & 20 deletions dev_tools/conf/pytest.ini

This file was deleted.

9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,16 @@ omit = [
"./dev_tools/*",
]

[tool.pytest.ini_options]
markers = [
"""slow: marks tests as slow (deselect with '-m "not slow"')""",
]
filterwarnings = [
"ignore:Skipped assert_qasm_is_consistent_with_unitary because qiskit.*:UserWarning",
]

[tool.mypy]
implicit_optional = true

# TODO: this is temporary for 1.7.0 release. Remove this & fix the errors.
ignore_errors = true

Expand Down