mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 19:25:56 +00:00
32 lines
930 B
TOML
32 lines
930 B
TOML
[build-system]
|
|
build-backend = "setuptools.build_meta"
|
|
requires = ["setuptools>=63.0.0", "wheel"]
|
|
|
|
[tool.black]
|
|
extend-exclude = '''
|
|
# A regex preceded with ^/ will apply only to files and directories
|
|
# in the root of the project.
|
|
^/tmp
|
|
'''
|
|
include = '\.pyi?$'
|
|
target-version = ['py37', 'py38', 'py39', 'py310']
|
|
|
|
[tool.isort]
|
|
combine_as_imports = true
|
|
indent = ' '
|
|
known_future_library = ['__future__', 'datahub.utilities._markupsafe_compat', 'datahub.sql_parsing._sqlglot_patch']
|
|
profile = 'black'
|
|
sections = 'FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER'
|
|
skip_glob = 'src/datahub/metadata'
|
|
|
|
[tool.pyright]
|
|
extraPaths = ['tests']
|
|
|
|
[tool.vulture]
|
|
exclude = ["src/datahub/metadata/"]
|
|
ignore_decorators = ["@click.*", "@validator", "@root_validator", "@pydantic.validator", "@pydantic.root_validator", "@pytest.fixture"]
|
|
ignore_names = ["*Source", "*Sink", "*Report"]
|
|
# min_confidence = 80
|
|
paths = ["src"]
|
|
sort_by_size = true
|