Compare commits

..

No commits in common. "9578cbf522f8e5b31c9653934c1dda9a7dfed46b" and "feb9c670bb2d6fb8c5e7b5140194cd4a650eec04" have entirely different histories.

6 changed files with 27 additions and 21 deletions

View file

@ -50,7 +50,7 @@ repos:
- id: prettier
types_or: [javascript, css]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.3.0
rev: v9.2.0
hooks:
- id: eslint
args: [--fix]
@ -59,7 +59,7 @@ repos:
- eslint@8.56.0
- eslint-config-prettier@8.5.0
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 2.1.2
rev: 2.0.4
hooks:
- id: pyproject-fmt
- repo: https://github.com/jazzband/pip-tools

View file

@ -1,7 +1,7 @@
##############################################
# write git info
##############################################
FROM alpine/git:2.43.4 AS git
FROM alpine/git:2.43.0 AS git
WORKDIR /app
COPY .git /app/.git/

View file

@ -56,7 +56,7 @@ idna==3.7
# via requests
kiwisolver==1.4.5
# via matplotlib
matplotlib==3.9.0
matplotlib==3.8.4
# via -r requirements.in
numpy==1.26.4
# via
@ -76,7 +76,7 @@ python-dateutil==2.9.0.post0
# via
# freezegun
# matplotlib
requests==2.32.0
requests==2.31.0
# via
# -r requirements.in
# django-anymail

View file

@ -3,10 +3,10 @@
###############################################################################
[tool.ruff]
target-version = "py311"
src = [
"src",
]
target-version = "py311"
select = [
"ALL",
]
@ -28,8 +28,8 @@ ignore = [
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
]
pydocstyle.convention = "pep257"
per-file-ignores."**/tests/*" = [
[tool.ruff.per-file-ignores]
"**/tests/*" = [
"S101", # Use of assert detected.
"S105", # Possible hardcoded password.
"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.
]
# File {name} is part of an implicit namespace package. Add an `__init__.py`.
per-file-ignores."tasks.py" = [
"tasks.py" = [
"INP001",
]
per-file-ignores."src/conftest.py" = [
"src/conftest.py" = [
"INP001",
]
per-file-ignores."src/manage.py" = [
"src/manage.py" = [
"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.
]
mccabe.max-complexity = 10
[tool.ruff.pydocstyle]
convention = "pep257"
[tool.ruff.mccabe]
max-complexity = 10
[tool.pytest.ini_options]
addopts = "--color=yes --driver Firefox"

View file

@ -81,7 +81,7 @@ pathspec==0.12.1
# via black
pip-tools==7.4.1
# via -r requirements-dev.in
platformdirs==4.2.2
platformdirs==4.2.1
# via
# black
# virtualenv
@ -95,7 +95,7 @@ pyproject-hooks==1.1.0
# pip-tools
pysocks==1.7.1
# via urllib3
pytest==8.2.1
pytest==8.2.0
# via
# -r requirements-dev.in
# pytest-base-url
@ -128,14 +128,14 @@ python-dateutil==2.9.0.post0
# faker
pyyaml==6.0.1
# via pre-commit
requests==2.32.0
requests==2.31.0
# via
# -c constraints.txt
# pytest-base-url
# pytest-selenium
ruff==0.4.4
# via -r requirements-dev.in
selenium==4.21.0
selenium==4.20.0
# via
# -r requirements-dev.in
# pytest-selenium
@ -153,7 +153,7 @@ sqlparse==0.5.0
# django
tenacity==8.3.0
# via pytest-selenium
trio==0.25.1
trio==0.25.0
# via
# selenium
# trio-websocket
@ -166,7 +166,7 @@ urllib3[socks]==2.2.1
# -c constraints.txt
# requests
# selenium
virtualenv==20.26.2
virtualenv==20.26.1
# via pre-commit
wheel==0.43.0
# via pip-tools

View file

@ -56,7 +56,7 @@ idna==3.7
# via requests
kiwisolver==1.4.5
# via matplotlib
matplotlib==3.9.0
matplotlib==3.8.4
# via -r requirements.in
numpy==1.26.4
# via
@ -76,7 +76,7 @@ python-dateutil==2.9.0.post0
# via
# freezegun
# matplotlib
requests==2.32.0
requests==2.31.0
# via
# -r requirements.in
# django-anymail