[tool.black] line-length = 100 target-version = ['py312'] include = '\.pyi?$' # 'extend-exclude' excludes files or directories in addition to the defaults exclude = '^/src/version.py' extend-exclude = ''' # A regex preceded with ^/ will apply only to files and directories # in the root of the project. ( ^/foo.py # exclude a file named foo.py in the root of the project | .*_pb2.py # exclude autogenerated Protocol Buffer files anywhere in the project ) '''