1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
|
[project]
name = "dlt"
dynamic = ["version"]
description = "Python implementation for DLT"
authors = [
{name = "BMW CarIT", email="carit.info@bmw.de"},
]
readme = "README.md"
license = {file = "LICENCE.txt"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: System :: Logging",
"Programming Language :: Python :: 3",
]
dependencies = [
]
[project.optional-dependencies]
dev = [
"black>=22.10",
"flake8>=5",
"pytest>=7.2.0",
"pytest-cov>=4.0.0"
]
[project.urls]
"Homepage" = "https://github.com/bmwcarit/python-dlt"
[project.scripts]
py_dlt_receive = "dlt.py_dlt_receive:main"
[tool.setuptools.packages.find]
include = ["dlt*"]
exclude = ["playbook*", "zuul.d*", "extracted_files*", "tests"]
[build-system]
requires = ["setuptools>=45", "setuptools-git-versioning"]
build-backend = "setuptools.build_meta"
[tool.setuptools-git-versioning]
enabled = true
dev_template = "{tag}.dev{ccount}+{sha}"
[tool.black]
line-length = 119
target_version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
| _version.py
)
'''
[tool.ruff]
line-length = 119
lint.select = ["E", "F", "Q", "D"]
# the following is equivalent to --docstring-convention=pep8
lint.extend-ignore = [
"D100",
"D107",
"D105",
"D401",
"D101",
"D102",
"D103",
"D104",
"D200",
"D400",
"D203",
"D205",
"D212",
"D213",
"D214",
"D215",
"D404",
"D405",
"D406",
"D407",
"D408",
"D409",
"D410",
"D411",
"D413",
"D415",
"D416",
"D417",
]
# D104: Missing docstring in public package
# This D104 error will be ignored only in __init__ files
lint.per-file-ignores = {"__init__.py" = ["D104"]}
[tool.bandit]
exclude_dirs = ["tests", ".tox"]
|