-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
62 lines (56 loc) · 1.3 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
[project]
name = "django-grainy"
description = "granular permissions for django"
readme = "README.md"
license = {file = "LICENSE"}
version = "2.0.1"
authors = [{name = "20C", email = "code@20c.com"}]
requires-python = ">=3.8,<4.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"grainy >=1.7",
"django >=3.2",
"djangorestframework >=3",
]
[project.optional-dependencies]
dev = [
# lint
"pre-commit >=2.13.0",
"pyupgrade >=2.34.0",
"ruff>=0.1",
# test
"pytest >=6.0.1",
"pytest-django >=3.8.0",
"coverage >=4.1",
"pytest-cov >=2.2.1",
"tox >=3.25.0",
"tox-gh-actions >=2.9.1",
"tox-uv>=1.13.0",
# docs
"markdown-include >=0.5",
"mkdocs >=1.2.3",
# ctl
"ctl >=1",
"jinja2 >=3",
"tmpl >=1",
]
# .ruff.toml
[tool.ruff]
ignore = ["F821"]
select = [
"I", # isort
"UP", # pyupgrade
]
[tool.hatch.metadata]
allow-direct-references = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"