2020-11-04 08:49:04 +01:00
|
|
|
[tool.black]
|
2024-06-24 17:36:41 +05:00
|
|
|
line-length = 120
|
2024-07-30 11:22:41 +05:00
|
|
|
include = '''
|
|
|
|
|
src/(
|
|
|
|
|
bcf
|
|
|
|
|
|bcfserver
|
2024-09-05 17:13:25 +05:00
|
|
|
|bonsai
|
2024-07-30 11:22:41 +05:00
|
|
|
|bsdd
|
|
|
|
|
|foundationserver
|
|
|
|
|
|ifc2ca
|
|
|
|
|
|ifc4d
|
|
|
|
|
|ifc5d
|
|
|
|
|
|ifcbimtester
|
|
|
|
|
|ifcblender
|
|
|
|
|
|ifccityjson
|
|
|
|
|
|ifcclash
|
|
|
|
|
|ifccsv
|
|
|
|
|
|ifcdiff
|
|
|
|
|
|ifcfm
|
|
|
|
|
|ifcpatch
|
|
|
|
|
|ifctester
|
|
|
|
|
|ifcopenshell-python
|
|
|
|
|
|ifcsverchok
|
|
|
|
|
|opencdeserver
|
|
|
|
|
)/.*.py$
|
|
|
|
|
'''
|
|
|
|
|
extend-exclude = '''
|
|
|
|
|
src/ifcopenshell-python/ifcopenshell/express/*
|
|
|
|
|
|src/ifcopenshell-python/ifcopenshell/mvd/*
|
2025-02-03 11:43:04 +05:00
|
|
|
|src/ifcopenshell-python/ifcopenshell/simple_spf/*
|
2024-07-30 11:22:41 +05:00
|
|
|
|src/ifc2ca/templates/*
|
2025-01-31 18:19:46 +05:00
|
|
|
|src/ifcconvert/cityjson/*
|
2024-07-30 11:22:41 +05:00
|
|
|
'''
|
2024-06-24 17:36:41 +05:00
|
|
|
|
|
|
|
|
[tool.pyright]
|
|
|
|
|
reportInvalidTypeForm = false
|
2024-07-01 13:33:47 +05:00
|
|
|
disableBytesTypePromotions = true
|
2025-04-18 12:20:25 +05:00
|
|
|
reportUnnecessaryTypeIgnoreComment = true
|
2025-05-16 18:12:33 +05:00
|
|
|
# Just to add a quick insert of `# pyright: ignore[xxx]` comments in Pylance.
|
|
|
|
|
enableTypeIgnoreComments = false
|