File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ qa = [
7474 " diffenator2>=0.2.0" ,
7575 " pycairo" , # needed for fontTools varLib.interpolatable --pdf
7676]
77+ test = [
78+ " black == 24.4.2" ,
79+ " pytest" ,
80+ ]
7781
7882[project .scripts ]
7983gftools = " gftools.scripts:main"
@@ -165,3 +169,14 @@ where = ["Lib"]
165169
166170[tool .setuptools_scm ]
167171write_to = " Lib/gftools/_version.py"
172+
173+ [tool .black ]
174+ target-version = [" py310" ]
175+ # 'extend-exclude' excludes files or directories in addition to the defaults
176+ extend-exclude = '''
177+ # A regex preceded with ^/ will apply only to files and directories
178+ # in the root of the project. Separate regexes with | .
179+ (
180+ .*_pb2.py # exclude autogenerated Protocol Buffer files anywhere in the project
181+ )
182+ '''
You can’t perform that action at this time.
0 commit comments