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
|
||||
types_or: [javascript, css]
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||
rev: v9.2.0
|
||||
rev: v9.3.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.0.4
|
||||
rev: 2.1.2
|
||||
hooks:
|
||||
- id: pyproject-fmt
|
||||
- repo: https://github.com/jazzband/pip-tools
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
##############################################
|
||||
# write git info
|
||||
##############################################
|
||||
FROM alpine/git:2.43.0 AS git
|
||||
FROM alpine/git:2.43.4 AS git
|
||||
|
||||
WORKDIR /app
|
||||
COPY .git /app/.git/
|
||||
|
|
|
@ -56,7 +56,7 @@ idna==3.7
|
|||
# via requests
|
||||
kiwisolver==1.4.5
|
||||
# via matplotlib
|
||||
matplotlib==3.8.4
|
||||
matplotlib==3.9.0
|
||||
# via -r requirements.in
|
||||
numpy==1.26.4
|
||||
# via
|
||||
|
@ -76,7 +76,7 @@ python-dateutil==2.9.0.post0
|
|||
# via
|
||||
# freezegun
|
||||
# matplotlib
|
||||
requests==2.31.0
|
||||
requests==2.32.0
|
||||
# via
|
||||
# -r requirements.in
|
||||
# django-anymail
|
||||
|
|
|
@ -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`
|
||||
]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"**/tests/*" = [
|
||||
pydocstyle.convention = "pep257"
|
||||
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,25 +38,19 @@ ignore = [
|
|||
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes.
|
||||
]
|
||||
# File {name} is part of an implicit namespace package. Add an `__init__.py`.
|
||||
"tasks.py" = [
|
||||
per-file-ignores."tasks.py" = [
|
||||
"INP001",
|
||||
]
|
||||
"src/conftest.py" = [
|
||||
per-file-ignores."src/conftest.py" = [
|
||||
"INP001",
|
||||
]
|
||||
"src/manage.py" = [
|
||||
per-file-ignores."src/manage.py" = [
|
||||
"INP001",
|
||||
]
|
||||
|
||||
"src/purchase/management/commands/generate_dummy_baskets.py" = [
|
||||
per-file-ignores."src/purchase/management/commands/generate_dummy_baskets.py" = [
|
||||
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes.
|
||||
]
|
||||
|
||||
[tool.ruff.pydocstyle]
|
||||
convention = "pep257"
|
||||
|
||||
[tool.ruff.mccabe]
|
||||
max-complexity = 10
|
||||
mccabe.max-complexity = 10
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "--color=yes --driver Firefox"
|
||||
|
|
|
@ -81,7 +81,7 @@ pathspec==0.12.1
|
|||
# via black
|
||||
pip-tools==7.4.1
|
||||
# via -r requirements-dev.in
|
||||
platformdirs==4.2.1
|
||||
platformdirs==4.2.2
|
||||
# via
|
||||
# black
|
||||
# virtualenv
|
||||
|
@ -95,7 +95,7 @@ pyproject-hooks==1.1.0
|
|||
# pip-tools
|
||||
pysocks==1.7.1
|
||||
# via urllib3
|
||||
pytest==8.2.0
|
||||
pytest==8.2.1
|
||||
# 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.31.0
|
||||
requests==2.32.0
|
||||
# via
|
||||
# -c constraints.txt
|
||||
# pytest-base-url
|
||||
# pytest-selenium
|
||||
ruff==0.4.4
|
||||
# via -r requirements-dev.in
|
||||
selenium==4.20.0
|
||||
selenium==4.21.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.0
|
||||
trio==0.25.1
|
||||
# via
|
||||
# selenium
|
||||
# trio-websocket
|
||||
|
@ -166,7 +166,7 @@ urllib3[socks]==2.2.1
|
|||
# -c constraints.txt
|
||||
# requests
|
||||
# selenium
|
||||
virtualenv==20.26.1
|
||||
virtualenv==20.26.2
|
||||
# via pre-commit
|
||||
wheel==0.43.0
|
||||
# via pip-tools
|
||||
|
|
|
@ -56,7 +56,7 @@ idna==3.7
|
|||
# via requests
|
||||
kiwisolver==1.4.5
|
||||
# via matplotlib
|
||||
matplotlib==3.8.4
|
||||
matplotlib==3.9.0
|
||||
# via -r requirements.in
|
||||
numpy==1.26.4
|
||||
# via
|
||||
|
@ -76,7 +76,7 @@ python-dateutil==2.9.0.post0
|
|||
# via
|
||||
# freezegun
|
||||
# matplotlib
|
||||
requests==2.31.0
|
||||
requests==2.32.0
|
||||
# via
|
||||
# -r requirements.in
|
||||
# django-anymail
|
||||
|
|
Loading…
Reference in a new issue