mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-22 16:18:03 +01:00
Compare commits
5 commits
feb9c670bb
...
9578cbf522
Author | SHA1 | Date | |
---|---|---|---|
|
9578cbf522 | ||
|
ebb8594cf3 | ||
b654520e0b | |||
|
36fb9dc0ac | ||
|
d9a336dcb2 |
6 changed files with 21 additions and 27 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.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
|
||||||
|
|
|
@ -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/
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue