forked from nrbnlulu/strawberry-django-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
131 lines (118 loc) · 3.22 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
130
131
[tool.poetry]
name = "strawberry-django-auth"
version = "0.374.3"
description = "Graphql authentication system with Strawberry for Django."
license = "MIT"
authors = ["Nir.J Benlulu <nrbnlulu@gmail.com>"]
maintainers = ["Nir.J Benlulu <nrbnlulu@gmail.com>"]
readme = "README.md"
classifiers = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.1',
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
packages = [
{ include = "gqlauth" }
]
[tool.poetry.dependencies]
python = "^3.8"
Django = ">=3.2"
PyJWT = ">=2.6.0"
strawberry-graphql-django = { version = ">=0.2.5,<4.0", allow-prereleases = true }
Pillow = "^9.2.0"
strawberry-graphql = ">=0.128"
strawberry-django-plus = ">=1.25.2"
[tool.poetry.dev-dependencies]
coverage = "^7.2"
pytest = "^7.2"
pytest-cov = "^4.0"
pytest-django = "^4.0.0"
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"
mypy = "^0.961"
django-stubs = {extras = ["compatible-mypy"], version = "^1.12.0"}
django-stubs-ext = "^0.7"
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"}
gql = {extras = ["all"], version = "^3.4.0"}
setuptools = "^67.6.0"
channels = {extras = ["daphne"], version = "^4.0.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 = "bot@no.reply"
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"]