mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-23 00:28:03 +01:00
Compare commits
No commits in common. "9578cbf522f8e5b31c9653934c1dda9a7dfed46b" and "feb9c670bb2d6fb8c5e7b5140194cd4a650eec04" have entirely different histories.
9578cbf522
...
feb9c670bb
6 changed files with 27 additions and 21 deletions
|
@ -50,7 +50,7 @@ repos:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
types_or: [javascript, css]
|
types_or: [javascript, css]
|
||||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||||
rev: v9.3.0
|
rev: v9.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: eslint
|
- id: eslint
|
||||||
args: [--fix]
|
args: [--fix]
|
||||||
|
@ -59,7 +59,7 @@ repos:
|
||||||
- eslint@8.56.0
|
- eslint@8.56.0
|
||||||
- eslint-config-prettier@8.5.0
|
- eslint-config-prettier@8.5.0
|
||||||
- repo: https://github.com/tox-dev/pyproject-fmt
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
||||||
rev: 2.1.2
|
rev: 2.0.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyproject-fmt
|
- id: pyproject-fmt
|
||||||
- repo: https://github.com/jazzband/pip-tools
|
- repo: https://github.com/jazzband/pip-tools
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
##############################################
|
##############################################
|
||||||
# write git info
|
# write git info
|
||||||
##############################################
|
##############################################
|
||||||
FROM alpine/git:2.43.4 AS git
|
FROM alpine/git:2.43.0 AS git
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY .git /app/.git/
|
COPY .git /app/.git/
|
||||||
|
|
|
@ -56,7 +56,7 @@ idna==3.7
|
||||||
# via requests
|
# via requests
|
||||||
kiwisolver==1.4.5
|
kiwisolver==1.4.5
|
||||||
# via matplotlib
|
# via matplotlib
|
||||||
matplotlib==3.9.0
|
matplotlib==3.8.4
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
numpy==1.26.4
|
numpy==1.26.4
|
||||||
# via
|
# via
|
||||||
|
@ -76,7 +76,7 @@ python-dateutil==2.9.0.post0
|
||||||
# via
|
# via
|
||||||
# freezegun
|
# freezegun
|
||||||
# matplotlib
|
# matplotlib
|
||||||
requests==2.32.0
|
requests==2.31.0
|
||||||
# via
|
# via
|
||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# django-anymail
|
# django-anymail
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py311"
|
|
||||||
src = [
|
src = [
|
||||||
"src",
|
"src",
|
||||||
]
|
]
|
||||||
|
target-version = "py311"
|
||||||
select = [
|
select = [
|
||||||
"ALL",
|
"ALL",
|
||||||
]
|
]
|
||||||
|
@ -28,8 +28,8 @@ ignore = [
|
||||||
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
|
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
|
||||||
]
|
]
|
||||||
|
|
||||||
pydocstyle.convention = "pep257"
|
[tool.ruff.per-file-ignores]
|
||||||
per-file-ignores."**/tests/*" = [
|
"**/tests/*" = [
|
||||||
"S101", # Use of assert detected.
|
"S101", # Use of assert detected.
|
||||||
"S105", # Possible hardcoded password.
|
"S105", # Possible hardcoded password.
|
||||||
"B011", # Do not call assert False since python -O removes these calls.
|
"B011", # Do not call assert False since python -O removes these calls.
|
||||||
|
@ -38,19 +38,25 @@ per-file-ignores."**/tests/*" = [
|
||||||
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes.
|
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes.
|
||||||
]
|
]
|
||||||
# File {name} is part of an implicit namespace package. Add an `__init__.py`.
|
# File {name} is part of an implicit namespace package. Add an `__init__.py`.
|
||||||
per-file-ignores."tasks.py" = [
|
"tasks.py" = [
|
||||||
"INP001",
|
"INP001",
|
||||||
]
|
]
|
||||||
per-file-ignores."src/conftest.py" = [
|
"src/conftest.py" = [
|
||||||
"INP001",
|
"INP001",
|
||||||
]
|
]
|
||||||
per-file-ignores."src/manage.py" = [
|
"src/manage.py" = [
|
||||||
"INP001",
|
"INP001",
|
||||||
]
|
]
|
||||||
per-file-ignores."src/purchase/management/commands/generate_dummy_baskets.py" = [
|
|
||||||
|
"src/purchase/management/commands/generate_dummy_baskets.py" = [
|
||||||
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes.
|
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes.
|
||||||
]
|
]
|
||||||
mccabe.max-complexity = 10
|
|
||||||
|
[tool.ruff.pydocstyle]
|
||||||
|
convention = "pep257"
|
||||||
|
|
||||||
|
[tool.ruff.mccabe]
|
||||||
|
max-complexity = 10
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = "--color=yes --driver Firefox"
|
addopts = "--color=yes --driver Firefox"
|
||||||
|
|
|
@ -81,7 +81,7 @@ pathspec==0.12.1
|
||||||
# via black
|
# via black
|
||||||
pip-tools==7.4.1
|
pip-tools==7.4.1
|
||||||
# via -r requirements-dev.in
|
# via -r requirements-dev.in
|
||||||
platformdirs==4.2.2
|
platformdirs==4.2.1
|
||||||
# via
|
# via
|
||||||
# black
|
# black
|
||||||
# virtualenv
|
# virtualenv
|
||||||
|
@ -95,7 +95,7 @@ pyproject-hooks==1.1.0
|
||||||
# pip-tools
|
# pip-tools
|
||||||
pysocks==1.7.1
|
pysocks==1.7.1
|
||||||
# via urllib3
|
# via urllib3
|
||||||
pytest==8.2.1
|
pytest==8.2.0
|
||||||
# via
|
# via
|
||||||
# -r requirements-dev.in
|
# -r requirements-dev.in
|
||||||
# pytest-base-url
|
# pytest-base-url
|
||||||
|
@ -128,14 +128,14 @@ python-dateutil==2.9.0.post0
|
||||||
# faker
|
# faker
|
||||||
pyyaml==6.0.1
|
pyyaml==6.0.1
|
||||||
# via pre-commit
|
# via pre-commit
|
||||||
requests==2.32.0
|
requests==2.31.0
|
||||||
# via
|
# via
|
||||||
# -c constraints.txt
|
# -c constraints.txt
|
||||||
# pytest-base-url
|
# pytest-base-url
|
||||||
# pytest-selenium
|
# pytest-selenium
|
||||||
ruff==0.4.4
|
ruff==0.4.4
|
||||||
# via -r requirements-dev.in
|
# via -r requirements-dev.in
|
||||||
selenium==4.21.0
|
selenium==4.20.0
|
||||||
# via
|
# via
|
||||||
# -r requirements-dev.in
|
# -r requirements-dev.in
|
||||||
# pytest-selenium
|
# pytest-selenium
|
||||||
|
@ -153,7 +153,7 @@ sqlparse==0.5.0
|
||||||
# django
|
# django
|
||||||
tenacity==8.3.0
|
tenacity==8.3.0
|
||||||
# via pytest-selenium
|
# via pytest-selenium
|
||||||
trio==0.25.1
|
trio==0.25.0
|
||||||
# via
|
# via
|
||||||
# selenium
|
# selenium
|
||||||
# trio-websocket
|
# trio-websocket
|
||||||
|
@ -166,7 +166,7 @@ urllib3[socks]==2.2.1
|
||||||
# -c constraints.txt
|
# -c constraints.txt
|
||||||
# requests
|
# requests
|
||||||
# selenium
|
# selenium
|
||||||
virtualenv==20.26.2
|
virtualenv==20.26.1
|
||||||
# via pre-commit
|
# via pre-commit
|
||||||
wheel==0.43.0
|
wheel==0.43.0
|
||||||
# via pip-tools
|
# via pip-tools
|
||||||
|
|
|
@ -56,7 +56,7 @@ idna==3.7
|
||||||
# via requests
|
# via requests
|
||||||
kiwisolver==1.4.5
|
kiwisolver==1.4.5
|
||||||
# via matplotlib
|
# via matplotlib
|
||||||
matplotlib==3.9.0
|
matplotlib==3.8.4
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
numpy==1.26.4
|
numpy==1.26.4
|
||||||
# via
|
# via
|
||||||
|
@ -76,7 +76,7 @@ python-dateutil==2.9.0.post0
|
||||||
# via
|
# via
|
||||||
# freezegun
|
# freezegun
|
||||||
# matplotlib
|
# matplotlib
|
||||||
requests==2.32.0
|
requests==2.31.0
|
||||||
# via
|
# via
|
||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# django-anymail
|
# django-anymail
|
||||||
|
|
Loading…
Reference in a new issue