src/eric7/CodeFormatting/BlackUtilities.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9453
e5065dde905d
child 9653
e67609152c5e
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
7 Module implementing some utility functions for the Black based code formatting. 7 Module implementing some utility functions for the Black based code formatting.
8 """ 8 """
9 9
10 import re 10 import re
11 11
12 import black
13
12 from PyQt6.QtCore import QCoreApplication, pyqtSlot 14 from PyQt6.QtCore import QCoreApplication, pyqtSlot
13 15
14 from eric7.EricWidgets import EricMessageBox 16 from eric7.EricWidgets import EricMessageBox
15
16 import black
17 17
18 18
19 def getDefaultConfiguration(): 19 def getDefaultConfiguration():
20 """ 20 """
21 Function to generate a default set of configuration parameters. 21 Function to generate a default set of configuration parameters.

eric ide

mercurial