-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
129 lines (114 loc) · 3.2 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
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
[tool.poetry]
name = "strawberry-django-auth"
version = "0.376.11"
description = "Graphql authentication system with Strawberry for Django."
license = "MIT"
authors = ["Nir.J Benlulu <[email protected]>"]
maintainers = ["Nir.J Benlulu <[email protected]>"]
readme = "README.md"
classifiers = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Framework :: Django',
"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",
]
packages = [{ include = "gqlauth" }]
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
Django = ">=3.2,<5.1"
PyJWT = ">=2.6.0,<3.0"
pillow = { version = ">=9.5,<11.0", extras = ["captcha"] }
django-stubs = { extras = ["compatible-mypy"], version = "^4.2.0" }
strawberry-graphql-django = ">=0.10.5"
[tool.poetry.extras]
captcha = ["pillow"]
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
coverage = "^7.2"
pytest = "^7.2"
pytest-cov = ">=4,<6"
types-cryptography = "^3.3.23"
django-mock-queries = "^2.1.7"
types-mock = "^5.0.0"
types-jwt = "^0.1.0"
types-pkg-resources = "^0.1.0"
mkdocs = ">=1.3.0"
mkdocs-markdownextradata-plugin = ">=0.2.5"
mkdocs-material = ">=8.5.4"
mkdocs-minify-plugin = ">=0.5.0"
pymdown-extensions = ">=9.9"
Markdown = ">=3.4.1"
Faker = ">=18.2.0"
pytest-asyncio = ">=0.21.0"
pydoc-markdown = { extras = ["novella"], version = ">=4.6.4" }
setuptools = ">=67.6.0"
channels = { extras = ["daphne"], version = ">=4.0.0" }
pytest-django = "^4.5.2"
typer = "^0.12.1"
pygithub = "^2.3.0"
httpx = "^0.27.0"
[tool.pytest.ini_options]
django_find_project = false
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]
DJANGO_SETTINGS_MODULE = "testproject.settings"
python_files = "tests.py test_*.py *_tests.py"
asyncio_mode = "auto"
markers = [
"default_user: uses the default settings, a user with email address and default USERNAME_FIELD",
"settings_b: uses a custom user model, not captcha validation as well as some other non-default settings",
]
[tool.poetry.urls]
"Homepage" = "https://github.com/nrbnlulu/strawberry-django-auth"
"Documentation" = "https://nrbnlulu.github.io/strawberry-django-auth/"
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310']
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| __pycached__
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
force_sort_within_sections = true
[tool.mypy]
plugins = ["mypy_django_plugin.main", "strawberry.ext.mypy_plugin"]
ignore_missing_imports = "True"
[tool.django-stubs]
django_settings_module = "testproject.settings"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.autopub]
git-username = "gqlauth-bot"
git-email = "[email protected]"
project-name = "gqlauth"
append-github-contributor = true
[tool.ruff]
line-length = 100
select = ["E", "F", "ERA", "I"]
ignore = [
"TID252",
"E501", # line too long, handled by black
]
fix = true
src = ["gqlauth", "tests", "testproject"]