-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
87 lines (77 loc) · 1.72 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
[project]
name = "django-openfeature"
version = "0.1.3"
description = "OpenFeature integration for Django"
readme = "README.md"
authors = [{ name = "Federico Bond", email = "[email protected]" }]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Framework :: Django",
]
keywords = []
dependencies = [
"openfeature-sdk>=0.5.0",
"Django>=4.2"
]
requires-python = ">=3.8"
[project.optional-dependencies]
debug_toolbar = ["django-debug-toolbar"]
[project.urls]
Homepage = "https://github.com/federicobond/django-openfeature"
[build-system]
requires = ['setuptools>=40.8.0']
build-backend = 'setuptools.build_meta'
[tool.setuptools.package-data]
"django_openfeature" = ["py.typed"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.hatch.envs.default]
dependencies = [
"django-debug-toolbar"
]
[tool.hatch.envs.default.scripts]
test = "django-admin test"
[tool.hatch.envs.default.env-vars]
DJANGO_SETTINGS_MODULE = "tests.settings"
PYTHONPATH = "."
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
select = [
"A",
"B",
"C4",
"C90",
"E",
"F",
"FLY",
"FURB",
"I",
"LOG",
"N",
"PERF",
"PGH",
"PLC",
"PLR0913",
"PLR0915",
"RUF",
"S",
"SIM",
"T10",
"T20",
"UP",
"W",
"YTT",
]
ignore = [
"E501", # the formatter will handle any too long line
]