-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
55 lines (47 loc) · 1.11 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
[tool.black]
line-length = 119
target-version = ['py310']
include = '\.pyi?$'
[tool.pytest.ini_options]
pythonpath = [".", "yc_lockbox"]
asyncio_mode = "auto"
filterwarnings = [
"ignore:`json_encoders` is deprecated",
"ignore:The event_loop fixture provided by pytest-asyncio has been redefined",
"ignore:Pydantic V1 style `@validator` validators are deprecated.",
]
[tool.coverage.run]
# omit = []
[tool.mypy]
ignore_missing_imports = true
strict_optional = true
warn_return_any = true
warn_unused_configs = true
[tool.flake8]
max-complexity = 15
max-line-length = 119
[tool.semantic_release]
version_variables = ["yc_lockbox/__init__.py:__version__"]
remote.type = "github"
commit_author = "name <email>"
commit_message = "release: 🚀 auto version bump {version}"
[tool.semantic_release.commit_parser_options]
allowed_types = [
"build",
"release",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"refactor",
"test",
]
minor_types = ["feat"]
patch_types = ["fix", "perf", "refactor"]
[tool.semantic_release.branches.main]
match = "(main|master)"
prerelease_token = "rc"
prerelease = false