From e7f7ea3c902eb89535236b5949195994ededba11 Mon Sep 17 00:00:00 2001 From: Francesco Ariis Date: Mon, 13 Nov 2023 17:17:03 +0100 Subject: [PATCH] Add changelog --- changelog.d/pr-check-ignore | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 changelog.d/pr-check-ignore diff --git a/changelog.d/pr-check-ignore b/changelog.d/pr-check-ignore new file mode 100644 index 00000000000..8d013e098fa --- /dev/null +++ b/changelog.d/pr-check-ignore @@ -0,0 +1,18 @@ +synopsis: Add `--ignore` to `cabal check` +packages: Cabal cabal-check +prs: #9442 +issues: #8587 + +description: { + +- `cabal check` can now ignore warning with `--ignore`. E.g. + `--ignore=MissingUpperBounds` will not display “Missing upper + bounds” warnings. +- `cabal check` output now prints the warning identifier too + (like `MissingUpperBounds`). +- `Distribution.PackageDescription.Check.Warning` now exports + `filterPackageChecksById`, this can be used by third-party + tools to filter warnings. + +} +