-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
91 lines (82 loc) · 2.21 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
90
91
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "django-auth-style"
description = "Django template styling for django-allauth and django-oauth-toolkit."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache 2.0"}
maintainers = [{name = "Kitware, Inc.", email = "kitware@kitware.com"}]
keywords=[
"django",
"resonant",
"kitware-resonant",
"style",
"styling",
"allauth",
"django-allauth",
"django-oauth-toolkit"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: Django :: 3",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python",
]
dependencies = [
"django>=3.2",
]
dynamic = ["version"]
[project.urls]
Repository = "https://github.com/kitware-resonant/django-auth-style"
"Bug Reports" = "https://github.com/kitware-resonant/django-auth-style/issues"
[project.optional-dependencies]
allauth = [
"django-allauth",
]
oauth-toolkit = [
"django-oauth-toolkit",
]
[tool.hatch.build]
only-include = [
"auth_style",
]
artifacts = [
"auth_style/static/auth_style/dist",
]
[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder"]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
"auth_style/static/auth_style/dist/styles.css",
"auth_style/static/auth_style/dist/icons.css",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
build_cmd = "build"
source_dir = "npm-src"
build_dir = "auth_style/static/auth_style/dist"
[tool.hatch.version]
source = "vcs"
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.isort]
profile = "black"
line_length = 100
# Sort by name, don't cluster "from" vs "import"
force_sort_within_sections = true
# Combines "as" imports on the same line
combine_as_imports = true