forked from westerveltco/django-twc-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (55 loc) · 1.34 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [
{name = "Josh", email = "josh@joshthomas.dev"}
]
dependencies = [
"copier>=9.1.1"
]
description = "A Django project template for The Westervelt Company."
dynamic = ["version"]
license = {file = "LICENSE"}
name = "django-twc-project"
readme = "README.md"
requires-python = ">= 3.8"
[tool.bumpver]
commit = true
commit_message = ":bookmark: bump version {old_version} -> {new_version}"
current_version = "2024.2"
push = false # set to false for CI
tag = false
version_pattern = "YYYY.INC1"
[tool.bumpver.file_patterns]
"VERSION" = [
'{version}'
]
"copier.yml" = [
'default: "{version}"'
]
"tests/test_version.py" = [
'assert version == "{version}"'
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
path = "VERSION"
pattern = "^(?P<version>[0-9]+(?:\\.[0-9]+)*)$"
[tool.pytest.ini_options]
addopts = "-n auto --dist loadfile --doctest-modules"
norecursedirs = ".* bin build dist *.egg examples htmlcov logs node_modules src templates venv"
python_files = "tests.py test_*.py *_tests.py"
testpaths = ["tests"]
[tool.rye]
dev-dependencies = [
"bumpver>=2023.1129",
"djlint>=1.34.1",
"pytest>=8.0.0",
"pytest-xdist>=3.5.0",
"pytest-randomly>=3.15.0",
"pytest-reverse>=1.7.0",
"pyyaml>=6.0.1"
]
managed = true
virtual = true