src/eric7/CodeFormatting/BlackFormattingAction.py

branch
eric7
changeset 9214
bd28e56047d7
child 9221
bf71ee032bb4
diff -r 2bf743848d2f -r bd28e56047d7 src/eric7/CodeFormatting/BlackFormattingAction.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/CodeFormatting/BlackFormattingAction.py	Mon Jul 11 16:42:50 2022 +0200
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2022 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module implementing an enum defining the various code formatting actions.
+"""
+
+import enum
+
+
+class BlackFormattingAction(enum.Enum):
+    """
+    Class defining the various code formatting actions.
+    """
+    Format = 0
+    Check = 1
+    Diff = 2

eric ide

mercurial