pyproject black - select all src folders by default, exclude explicitly

This commit is contained in:
Andrej
2025-06-09 11:52:30 +05:00
parent 8b4683aef1
commit 6862523c75
+4 -24
View File
@@ -1,35 +1,15 @@
[tool.black] [tool.black]
line-length = 120 line-length = 120
include = ''' include = "src/.*.pyi?$"
src/(
bcf
|bcfserver
|bonsai
|bsdd
|foundationserver
|ifc2ca
|ifc4d
|ifc5d
|ifcbimtester
|ifcblender
|ifccityjson
|ifcclash
|ifccsv
|ifcdiff
|ifcfm
|ifcpatch
|ifctester
|ifcopenshell-python
|ifcsverchok
|opencdeserver
)/.*.pyi?$
'''
extend-exclude = ''' extend-exclude = '''
src/ifcopenshell-python/ifcopenshell/express/* src/ifcopenshell-python/ifcopenshell/express/*
|src/ifcopenshell-python/ifcopenshell/mvd/* |src/ifcopenshell-python/ifcopenshell/mvd/*
|src/ifcopenshell-python/ifcopenshell/simple_spf/* |src/ifcopenshell-python/ifcopenshell/simple_spf/*
|src/ifc2ca/templates/* |src/ifc2ca/templates/*
|src/ifcconvert/cityjson/* |src/ifcconvert/cityjson/*
|src/svgfill
|src/exterior-shell-extractor
|src/pyodide
''' '''
[tool.pyright] [tool.pyright]