34 lines
718 B
TOML
34 lines
718 B
TOML
|
|
[tool.isort]
|
||
|
|
profile = "black"
|
||
|
|
forced_separate = ["tests"]
|
||
|
|
line_length = 100
|
||
|
|
skip_gitignore = true # align tool behavior with Black
|
||
|
|
extend_skip=[
|
||
|
|
# Correctly ordering the imports in serverless functions would
|
||
|
|
# require a pyproject.toml in every function; don't bother with it for now.
|
||
|
|
"serverless",
|
||
|
|
]
|
||
|
|
|
||
|
|
[tool.black]
|
||
|
|
line-length = 100
|
||
|
|
target-version = ['py39']
|
||
|
|
extend-exclude = """
|
||
|
|
# TODO: get rid of these
|
||
|
|
^/cvat/apps/(
|
||
|
|
dataset_manager/bindings.py
|
||
|
|
|engine/(
|
||
|
|
admin.py
|
||
|
|
|backup.py
|
||
|
|
|cloud_provider.py
|
||
|
|
|media_extractors.py
|
||
|
|
|mixins.py
|
||
|
|
|models.py
|
||
|
|
|permissions.py
|
||
|
|
|serializers.py
|
||
|
|
|task.py
|
||
|
|
|views.py
|
||
|
|
)
|
||
|
|
)
|
||
|
|
| ^/serverless/
|
||
|
|
"""
|