mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-21 23:58:02 +01:00
Add kolo in dev
This commit is contained in:
parent
ecf3c4dce2
commit
b476e84159
4 changed files with 70 additions and 1 deletions
2
.kolo/config.toml
Normal file
2
.kolo/config.toml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[filters]
|
||||||
|
ignore_request_paths = ["/static/"]
|
60
poetry.lock
generated
60
poetry.lock
generated
|
@ -105,6 +105,14 @@ category = "main"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = "*"
|
python-versions = "*"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "cerberus"
|
||||||
|
version = "1.3.4"
|
||||||
|
description = "Lightweight, extensible schema and data validation tool for Python dictionaries."
|
||||||
|
category = "dev"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=2.7"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "certifi"
|
name = "certifi"
|
||||||
version = "2022.9.24"
|
version = "2022.9.24"
|
||||||
|
@ -143,6 +151,17 @@ python-versions = ">=3.6.0"
|
||||||
[package.extras]
|
[package.extras]
|
||||||
unicode_backport = ["unicodedata2"]
|
unicode_backport = ["unicodedata2"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "click"
|
||||||
|
version = "8.1.3"
|
||||||
|
description = "Composable command line interface toolkit"
|
||||||
|
category = "dev"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
colorama = {version = "*", markers = "platform_system == \"Windows\""}
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "colorama"
|
name = "colorama"
|
||||||
version = "0.4.5"
|
version = "0.4.5"
|
||||||
|
@ -481,6 +500,24 @@ category = "main"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.7"
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "kolo"
|
||||||
|
version = "2.0.3"
|
||||||
|
description = "See everything happening in your running Django app"
|
||||||
|
category = "dev"
|
||||||
|
optional = false
|
||||||
|
python-versions = "*"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
cerberus = ">=1.3.4"
|
||||||
|
click = ">=7.1.2"
|
||||||
|
tomli = {version = ">=2.0.0", markers = "python_version < \"3.11\""}
|
||||||
|
toolz = ">=0.11.1"
|
||||||
|
ulid-py = ">=1.1.0"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
test_generation = ["jinja2 (>=3.0.0)"]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "matplotlib"
|
name = "matplotlib"
|
||||||
version = "3.6.0"
|
version = "3.6.0"
|
||||||
|
@ -985,6 +1022,14 @@ category = "main"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.7"
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "toolz"
|
||||||
|
version = "0.12.0"
|
||||||
|
description = "List processing tools and functional utilities"
|
||||||
|
category = "dev"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.5"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "trio"
|
name = "trio"
|
||||||
version = "0.21.0"
|
version = "0.21.0"
|
||||||
|
@ -1031,6 +1076,14 @@ category = "main"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=2"
|
python-versions = ">=2"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ulid-py"
|
||||||
|
version = "1.1.0"
|
||||||
|
description = "Universally Unique Lexicographically Sortable Identifier"
|
||||||
|
category = "dev"
|
||||||
|
optional = false
|
||||||
|
python-versions = "*"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "urllib3"
|
name = "urllib3"
|
||||||
version = "1.26.12"
|
version = "1.26.12"
|
||||||
|
@ -1100,7 +1153,7 @@ h11 = ">=0.9.0,<1"
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "1.1"
|
lock-version = "1.1"
|
||||||
python-versions = "^3.10"
|
python-versions = "^3.10"
|
||||||
content-hash = "a7f456302a8e5cd5023a9f6ced2930e9ec4a2e964daae04f24a486b2071fd3a0"
|
content-hash = "e21ae8f93aefc631a43ccf43b79a3660ca11c6870677d60878b0adc88303953d"
|
||||||
|
|
||||||
[metadata.files]
|
[metadata.files]
|
||||||
ansicon = []
|
ansicon = []
|
||||||
|
@ -1181,6 +1234,7 @@ brotli = [
|
||||||
{file = "Brotli-1.0.9-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:76ffebb907bec09ff511bb3acc077695e2c32bc2142819491579a695f77ffd4d"},
|
{file = "Brotli-1.0.9-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:76ffebb907bec09ff511bb3acc077695e2c32bc2142819491579a695f77ffd4d"},
|
||||||
{file = "Brotli-1.0.9.zip", hash = "sha256:4d1b810aa0ed773f81dceda2cc7b403d01057458730e309856356d4ef4188438"},
|
{file = "Brotli-1.0.9.zip", hash = "sha256:4d1b810aa0ed773f81dceda2cc7b403d01057458730e309856356d4ef4188438"},
|
||||||
]
|
]
|
||||||
|
cerberus = []
|
||||||
certifi = []
|
certifi = []
|
||||||
cffi = []
|
cffi = []
|
||||||
cfgv = [
|
cfgv = [
|
||||||
|
@ -1188,6 +1242,7 @@ cfgv = [
|
||||||
{file = "cfgv-3.3.1.tar.gz", hash = "sha256:f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736"},
|
{file = "cfgv-3.3.1.tar.gz", hash = "sha256:f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736"},
|
||||||
]
|
]
|
||||||
charset-normalizer = []
|
charset-normalizer = []
|
||||||
|
click = []
|
||||||
colorama = []
|
colorama = []
|
||||||
contourpy = []
|
contourpy = []
|
||||||
coverage = []
|
coverage = []
|
||||||
|
@ -1244,6 +1299,7 @@ invoke = [
|
||||||
]
|
]
|
||||||
jinxed = []
|
jinxed = []
|
||||||
kiwisolver = []
|
kiwisolver = []
|
||||||
|
kolo = []
|
||||||
matplotlib = []
|
matplotlib = []
|
||||||
model-bakery = []
|
model-bakery = []
|
||||||
nodeenv = []
|
nodeenv = []
|
||||||
|
@ -1365,10 +1421,12 @@ tomli = [
|
||||||
{file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
|
{file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
|
||||||
{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
|
{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
|
||||||
]
|
]
|
||||||
|
toolz = []
|
||||||
trio = []
|
trio = []
|
||||||
trio-websocket = []
|
trio-websocket = []
|
||||||
typing-extensions = []
|
typing-extensions = []
|
||||||
tzdata = []
|
tzdata = []
|
||||||
|
ulid-py = []
|
||||||
urllib3 = []
|
urllib3 = []
|
||||||
virtualenv = []
|
virtualenv = []
|
||||||
wcwidth = [
|
wcwidth = [
|
||||||
|
|
|
@ -33,6 +33,7 @@ invoke = "^1.7.0"
|
||||||
factory-boy = "^3.2.1"
|
factory-boy = "^3.2.1"
|
||||||
pytest-selenium = "^4.0.0"
|
pytest-selenium = "^4.0.0"
|
||||||
selenium = "^4.4.3"
|
selenium = "^4.4.3"
|
||||||
|
kolo = "^2.0.3"
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
target-version = ['py310']
|
target-version = ['py310']
|
||||||
|
|
|
@ -104,6 +104,14 @@ MIDDLEWARE = [
|
||||||
"csp.middleware.CSPMiddleware",
|
"csp.middleware.CSPMiddleware",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
try:
|
||||||
|
import kolo # noqa: F401
|
||||||
|
|
||||||
|
MIDDLEWARE = ["kolo.middleware.KoloMiddleware"] + MIDDLEWARE
|
||||||
|
except ImportError:
|
||||||
|
# Don't add kolo if unavailable
|
||||||
|
pass
|
||||||
|
|
||||||
ROOT_URLCONF = "checkout.urls"
|
ROOT_URLCONF = "checkout.urls"
|
||||||
|
|
||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
|
|
Loading…
Reference in a new issue