From edcb2d463482c749340e933e7c977c1c129db256 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 11 Aug 2023 11:16:17 +0000 Subject: [PATCH] style: format code with black Format code with black This commit fixes the style issues introduced in e5b8d25 according to the output from Black. Details: None --- ply/__init__.py | 2 +- pseudoyacc.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ply/__init__.py b/ply/__init__.py index 25158dc..863ef54 100644 --- a/ply/__init__.py +++ b/ply/__init__.py @@ -2,4 +2,4 @@ # Author: David Beazley (dave@dabeaz.com) # https://github.com/dabeaz/ply -__version__ = '2022.10.27' \ No newline at end of file +__version__ = "2022.10.27" diff --git a/pseudoyacc.py b/pseudoyacc.py index 49c03e7..0aac827 100644 --- a/pseudoyacc.py +++ b/pseudoyacc.py @@ -68,6 +68,7 @@ def p_comment(p): # == Conditional selection + def p_selection(p): """selection : if | case""" @@ -77,6 +78,7 @@ def p_selection(p): # If...else...endif statements + def p_if(p): """if : if_start | then