-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
188 lines (172 loc) · 5.14 KB
/
pyproject.toml
File metadata and controls
188 lines (172 loc) · 5.14 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
[project]
name = "django-ninja-crudl"
version = "0.8.0"
description = "CRUDL REST API endpoints from Django ORM models using Django Ninja framework"
requires-python = ">=3.12"
authors = [{ name = "Jukka Hassinen", email = "jukka.hassinen@gmail.com" }]
license = "MIT"
readme = "README.md"
keywords = ["Django", "Ninja", "REST", "API", "CRUD", "CRUDL", "OpenAPI"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Pydantic :: 2",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"django2pydantic",
"django>=5.1",
"django-ninja-extra>=0.21.4",
"beartype>=0.19.0",
"typeguard>=4.4.1",
"django-stubs-ext>=5.1.1",
"pydantic>=2.9.2",
]
[dependency-groups]
dev = [
{ include-group = "tests" },
"basedpyright>=1.21.0",
"debugpy>=1.8.8",
"django-stubs>=5.1.1",
"import-linter>=2.1",
"ipykernel>=6.29.5",
"isort>=5.13.2",
"mypy>=1.13.0",
"nox>=2024.10.9",
"nplusone>=1.0.0",
"pylint>=3.3.4",
"pylint-django>=2.6.1",
"pyre-check>=0.9.23",
"pyright>=1.1.388",
"pytest-instafail>=0.5.0",
"pytest-testmon>=2.1.1",
"pytest-watch>=4.2.0",
# TODO(phuongfi91): pytype causes issue with overlapping ninja packages
# "pytype>=2024.10.11",
"ruff>=0.7.3",
"wemake-python-styleguide>=0.19.2",
"semgrep>=1.85.0",
"nitpick",
"django-stubs[compatible-mypy]>=5.1.1",
"wemake-python-styleguide>=1.0.0",
"project-config>=0.9.7",
"pre-commit>=4.1.0",
"python-semantic-release>=9.14.0",
"django-extensions>=3.2.3",
"ty>=0.0.7",
"rust-just>=1.45.0",
]
tests = [
"openapi-spec-validator>=0.7.2",
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
"pytest-django>=4.11.1",
"pytest-xdist[psutil]>=3.8.0",
"rich>=14.0.0",
"schemathesis>=3.39.16,<4",
]
[tool.uv.sources]
django2pydantic = { git = "https://github.com/NextGenContributions/django2pydantic", branch = "main" }
nitpick = { git = "https://github.com/NextGenContributions/nitpick", branch = "develop-ng" }
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple"
explicit = true
[project.urls]
Homepage = "https://github.com/NextGenContributions/django-ninja-crudl"
Documentation = "https://github.com/NextGenContributions/django-ninja-crudl/blob/main/README.md"
Repository = "https://github.com/NextGenContributions/django-ninja-crudl.git"
Issues = "https://github.com/NextGenContributions/django-ninja-crudl/issues"
Changelog = "https://github.com/NextGenContributions/django-ninja-crudl/blob/main/CHANGELOG.md"
"Release Notes" = "https://github.com/NextGenContributions/django-ninja-crudl/releases"
Funding = "https://github.com/sponsors/NextGenContributions"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.semantic_release]
assets = []
build_command_env = []
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
logging_use_named_masks = false
major_on_zero = true
allow_zero_version = true
no_git_verify = false
tag_format = "v{version}"
version_toml = ["pyproject.toml:project.version"]
version_variables = [
"django_ninja_crudl/__init__.py:__version__",
"uv.lock:\"django-ninja-crudl\"\\nversion",
]
[tool.semantic_release.branches.main]
match = "(main|master)"
prerelease_token = "rc"
prerelease = false
[tool.semantic_release.changelog]
exclude_commit_patterns = [
'''chore(?:\([^)]*?\))?: .+''',
'''ci(?:\([^)]*?\))?: .+''',
'''refactor(?:\([^)]*?\))?: .+''',
'''style(?:\([^)]*?\))?: .+''',
'''test(?:\([^)]*?\))?: .+''',
'''build\((?!deps\): .+)''',
'''Merged? .*''',
'''Initial Commit.*''',
# Old semantic-release version commits
'''^\d+\.\d+\.\d+''',
]
mode = "init"
insertion_flag = "<!-- version list -->"
template_dir = "templates"
[tool.semantic_release.changelog.default_templates]
changelog_file = "CHANGELOG.md"
output_format = "md"
mask_initial_release = false
[tool.semantic_release.changelog.environment]
block_start_string = "{%"
block_end_string = "%}"
variable_start_string = "{{"
variable_end_string = "}}"
comment_start_string = "{#"
comment_end_string = "#}"
trim_blocks = false
lstrip_blocks = false
newline_sequence = "\n"
keep_trailing_newline = false
extensions = []
autoescape = false
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
allowed_tags = [
"feat",
"fix",
"perf",
"build",
"chore",
"ci",
"docs",
"style",
"refactor",
"test",
]
default_bump_level = 0
[tool.semantic_release.remote]
name = "origin"
type = "github"
ignore_token_for_push = false
insecure = false
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true