-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
77 lines (71 loc) · 1.49 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "django-apitokens"
dynamic = ["version"]
authors = [
{name = "InfoSec Engineering", email = "[email protected]"},
]
description = "Generate API tokens for django-restframework"
readme = "README.md"
requires-python = ">=3.7"
keywords = ["django", "api", "restframework", "tokens", "self-service"]
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Environment :: Web Environment",
"Topic :: Software Development",
]
dependencies = [
"Django >= 3.1, < 5.0",
"django-rest-knox == 4.2.0",
]
[tool.setuptools.dynamic]
version = {attr = "apitokens.__version__"}
[tool.setuptools]
packages = ["apitokens"]
[project.optional-dependencies]
dev = ["black==23.1.0", "ruff==0.0.256"]
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.venv3
| _build
| buck-out
| build
| dist
| migrations
)/
'''
[tool.ruff]
exclude = [
'.git',
'__pycache__',
'venv',
'venv3',
]
ignore = []
line-length = 120
select = [
'E',
'F',
'W',
"I001",
]
src = ['apitokens']