-
Notifications
You must be signed in to change notification settings - Fork 26
/
pyproject.toml
66 lines (58 loc) · 1.8 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "klingklang_public"
version = "0.0.1"
description = "The public components for klinklang"
readme = "README.md"
requires-python = ">=3.8"
authors = [
{name = "Christopher Müller", email = "[email protected]"},
{name = "James Wilson", email = "[email protected]"},
]
dependencies = ["pymongo==4.6.3","PyYaml==6.0.1","pika==1.3.2", "pydantic==1.10.14",]
[project.urls]
Homepage = "https://github.com/SpielerNogard/klinklang-public"
#[project.optional-dependencies]
#docs = ["PyYAML==6.0.1"]
[tool.setuptools.packages.find]
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]
[tool.ruff]
exclude = ['**_pb2.py']
line-length = 88
indent-width = 4
target-version = "py38"
[tool.ruff.lint]
# for more rules: https://docs.astral.sh/ruff/rules/
select = [
"A", # prevent using keywords that clobber python builtins
"E", # pycodestyle
"F", # pyflakes
"UP", # alert you when better syntax is available in your python version
"I", # isort
"N", # PEP8 naming
"W" # Warnings
]
ignore = ["A003","N805","A002"]
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
# Enable reformatting of code snippets in docstrings.
docstring-code-format = true
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "semver"
version_provider = "pep621"
update_changelog_on_bump = true
bump_message = "bump: $current_version → $new_version [skip-ci]"
version_files = [
"klinklang/__init__.py",
]