diff --git a/pyproject.toml b/pyproject.toml index dcf2913e337..7a663d17c39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -135,7 +135,7 @@ xfail_strict = true astropy_header = true # print summary of failed tests, force errors if settings are misspelled -addopts = ["-ra", "--strict-config", "--strict-markers", "--glob-ignore=src/ctapipe/_dev_version"] +addopts = ["-ra", "--strict-config", "--strict-markers", "--ignore-glob=src/ctapipe/_dev_version"] filterwarnings = [ "error::DeprecationWarning",