From e67055bbb4167dab4406fd3bfff1aed9722312aa Mon Sep 17 00:00:00 2001 From: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon, 25 Sep 2023 14:59:25 +0200 Subject: [PATCH] hypothesis_strategies: Fix mypy error Use a list instead of a tuple to keep mypy happy with latest hypothesis version. --- swh/model/hypothesis_strategies.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swh/model/hypothesis_strategies.py b/swh/model/hypothesis_strategies.py index 19a8d891..45671861 100644 --- a/swh/model/hypothesis_strategies.py +++ b/swh/model/hypothesis_strategies.py @@ -56,7 +56,8 @@ from .model import ( from .swhids import ExtendedObjectType, ExtendedSWHID pgsql_alphabet = characters( - blacklist_categories=("Cs",), blacklist_characters=["\u0000"] + blacklist_categories=["Cs"], + blacklist_characters=["\u0000"], ) # postgresql does not like these -- GitLab