iris_classification_lambda / pyproject.toml
Clement Vachet
Add configuration files for pylint and black
03a5b00
raw
history blame contribute delete
466 Bytes
[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
)
'''