-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (80 loc) · 1.93 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[bumpver]
current_version = "0.7.1"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump version: {old_version} → {new_version}"
tag_message = "{new_version}"
tag_scope = "default"
commit = true
tag = true
push = false
[bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
]
"sartorial/__init__.py" = [
'^__version__ = "{version}"$',
]
[project]
name = "sartorial"
dynamic = ["version"]
description = "Pydantic model base classes and custom type handling, JSON schema generation, etc. covering a variety of common scenarios without much config"
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Al Barrentine" },
]
keywords = [
"sartorial",
"pydantic",
"json-schema",
"schema",
"model"
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"communal",
"pydantic>2"
]
[project.urls]
Homepage = "https://github.com/goodcleanfun/sartorial"
Repository = "https://github.com/goodcleanfun/sartorial"
[tool.coverage.run]
parallel = true
source = [
"tests",
"sartorial"
]
context = '${CONTEXT}'
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.hatch.version]
path = "sartorial/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/sartorial",
]