-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
46 lines (39 loc) · 1.09 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
[tool.ruff]
line-length = 98
[tool.ruff.lint.pycodestyle]
max-line-length = 120
[tool.black]
line-length = 98
[tool.poetry]
name = "pytest-hot-reloading"
version = "0.1.0-alpha.19"
description = ""
authors = ["James Hutchison <jamesghutchison@proton.me>"]
readme = "README.md"
packages = [{ include = "pytest_hot_reloading" }]
[tool.poetry.dependencies]
python = "^3.10"
jurigged = "^0.5.5"
cachetools = "^5.3.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.2.0"
ruff = "^0.1.6"
pytest = "^7.2.2"
pytest-django = "^4.5.2"
django = "4.2.2"
psycopg2-binary = "^2.9.6"
pytest-env = "^0.8.1"
pytest-xdist = "^3.3.1"
megamock = "^0.1.0b9"
types-cachetools = "^5.3.0.5"
pytest-asyncio = "^0.23.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
DJANGO_SETTINGS_MODULE = "tests.workarounds.pytest_django.settings"
# xdist is not supported. Enable it to check that workaround works
addopts = "-n 1 -p pytest_hot_reloading.plugin -p megamock.plugins.pytest"
# TOX is incompatible with pytest-django
env = ["TOX_PARALLEL_ENV = tox"]