From 897e1773a5c44b8845efb3d2ccb33071be566d51 Mon Sep 17 00:00:00 2001 From: Sky Leite Date: Sat, 4 Feb 2023 00:31:42 -0300 Subject: Disable SyntaxError lint rule due to ruff not supporting pattern matching --- backend/pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/pyproject.toml b/backend/pyproject.toml index dd5a6c03..965df739 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -4,7 +4,11 @@ max-line-length = 88 [tool.ruff] ignore = [ # Ignore line length check and let Black handle it - "E501" + "E501", + + # Ignore SyntaxError due to ruff not supporting pattern matching + # https://github.com/charliermarsh/ruff/issues/282 + "E999", ] # Assume Python 3.10. -- cgit v1.2.3