From 57b2835ecc6c9b30920e929985b9d7cafcb7c457 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 24 Feb 2024 13:04:40 +0800 Subject: chore(project): add ruff deps chore(lint): format code with ruff chore(project): add tool.ruff format section --- nivis-python/exception.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nivis-python/exception.py') diff --git a/nivis-python/exception.py b/nivis-python/exception.py index a8b7201..0ec22e5 100644 --- a/nivis-python/exception.py +++ b/nivis-python/exception.py @@ -10,7 +10,7 @@ class PsiException(Exception): ``` """ - + class ValueError(PsiException): """ An exception class for value-related errors in Psi code. @@ -23,6 +23,7 @@ class ValueError(PsiException): ``` """ + class GrammarError(PsiException): """ An exception class for grammar-related errors in Psi code. -- cgit v1.2.3-70-g09d2