Compare commits

...

5 commits

Author SHA1 Message Date
pre-commit-ci[bot]
9578cbf522 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-20 21:57:37 +00:00
pre-commit-ci[bot]
ebb8594cf3 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-eslint: v9.2.0 → v9.3.0](https://github.com/pre-commit/mirrors-eslint/compare/v9.2.0...v9.3.0)
- [github.com/tox-dev/pyproject-fmt: 2.0.4 → 2.1.2](https://github.com/tox-dev/pyproject-fmt/compare/2.0.4...2.1.2)
2024-05-20 21:57:37 +00:00
b654520e0b
Merge pull request #140 from Crocmagnon/dependabot/docker/alpine/git-2.43.4
Bump alpine/git from 2.43.0 to 2.43.4
2024-05-20 22:57:16 +02:00
dependabot[bot]
36fb9dc0ac
---
updated-dependencies:
- dependency-name: alpine/git
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 18:44:24 +00:00
Crocmagnon
d9a336dcb2 Update dependencies 2024-05-20 18:07:15 +00:00
6 changed files with 21 additions and 27 deletions

View file

@ -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.2.0 rev: v9.3.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.0.4 rev: 2.1.2
hooks: hooks:
- id: pyproject-fmt - id: pyproject-fmt
- repo: https://github.com/jazzband/pip-tools - repo: https://github.com/jazzband/pip-tools

View file

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

View file

@ -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.8.4 matplotlib==3.9.0
# 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.31.0 requests==2.32.0
# via # via
# -r requirements.in # -r requirements.in
# django-anymail # django-anymail

View file

@ -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`
] ]
[tool.ruff.per-file-ignores] pydocstyle.convention = "pep257"
"**/tests/*" = [ per-file-ignores."**/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,25 +38,19 @@ ignore = [
"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`.
"tasks.py" = [ per-file-ignores."tasks.py" = [
"INP001", "INP001",
] ]
"src/conftest.py" = [ per-file-ignores."src/conftest.py" = [
"INP001", "INP001",
] ]
"src/manage.py" = [ per-file-ignores."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"

View file

@ -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.1 platformdirs==4.2.2
# 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.0 pytest==8.2.1
# 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.31.0 requests==2.32.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.20.0 selenium==4.21.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.0 trio==0.25.1
# 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.1 virtualenv==20.26.2
# via pre-commit # via pre-commit
wheel==0.43.0 wheel==0.43.0
# via pip-tools # via pip-tools

View file

@ -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.8.4 matplotlib==3.9.0
# 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.31.0 requests==2.32.0
# via # via
# -r requirements.in # -r requirements.in
# django-anymail # django-anymail