Skip to content

Commit

Permalink
ref: adjust pytest opts (#67874)
Browse files Browse the repository at this point in the history
-ra creates annotation spam for XFAILED tests

--strict-markers is redundant when we have -Werror

<!-- Describe your PR here. -->
  • Loading branch information
asottile-sentry authored Mar 28, 2024
1 parent 48fc772 commit 8e8ff3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ skip = "migrations"
python_files = "test_*.py sentry/testutils/*"
# note: When updating the traceback format, make sure to update .github/pytest.json
# We don't use the celery pytest plugin.
addopts = "-ra --tb=short --strict-markers -p no:celery --nomigrations"
addopts = "--tb=short -p no:celery --nomigrations"
# TODO: --import-mode=importlib will become the default soon,
# currently we have a few relative imports that don't work with that.
markers = [
Expand Down

0 comments on commit 8e8ff3e

Please sign in to comment.