mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-23 06:58:02 +01:00
Compare commits
No commits in common. "a64fc65815eaa1bc85ad94f9184283208b9beeca" and "2b86907c68599c78d048d210b0472a241d3317a3" have entirely different histories.
a64fc65815
...
2b86907c68
5 changed files with 62 additions and 53 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.36.0
|
- eslint@8.36.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
|
||||||
|
|
|
@ -63,11 +63,11 @@ pillow==10.3.0
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
pysocks==1.7.1
|
pysocks==1.7.1
|
||||||
# via urllib3
|
# via urllib3
|
||||||
requests==2.32.0
|
requests==2.31.0
|
||||||
# via
|
# via
|
||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# django-anymail
|
# django-anymail
|
||||||
selenium==4.21.0
|
selenium==4.20.0
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
sniffio==1.3.1
|
sniffio==1.3.1
|
||||||
# via trio
|
# via trio
|
||||||
|
@ -75,7 +75,7 @@ sortedcontainers==2.4.0
|
||||||
# via trio
|
# via trio
|
||||||
sqlparse==0.5.0
|
sqlparse==0.5.0
|
||||||
# via django
|
# via django
|
||||||
trio==0.25.1
|
trio==0.25.0
|
||||||
# via
|
# via
|
||||||
# selenium
|
# selenium
|
||||||
# trio-websocket
|
# trio-websocket
|
||||||
|
|
|
@ -3,53 +3,62 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py311"
|
|
||||||
|
|
||||||
src = [
|
src = [
|
||||||
"src",
|
"src",
|
||||||
]
|
]
|
||||||
lint.select = [
|
target-version = "py311"
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
|
select = [
|
||||||
"ALL",
|
"ALL",
|
||||||
]
|
]
|
||||||
lint.ignore = [
|
unfixable = [
|
||||||
"ANN", # flake8-annotations
|
"T20",
|
||||||
"BLE", # flake8-blind-except
|
|
||||||
"D1", # missing docstring
|
|
||||||
"E501", # long lines
|
|
||||||
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
|
|
||||||
"TCH", # flake8-type-checking / TODO: revisit later ?
|
|
||||||
|
|
||||||
"TRY003", # Avoid specifying long messages outside the exception class
|
|
||||||
]
|
|
||||||
lint.per-file-ignores."**/tests/*" = [
|
|
||||||
"ARG001", # Unused function argument (mostly fixtures)
|
|
||||||
"B011", # Do not call assert False since python -O removes these calls.
|
|
||||||
"PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
|
|
||||||
"S101", # Use of assert detected.
|
|
||||||
"S106", # Possible hardcoded password.
|
|
||||||
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes.
|
|
||||||
]
|
|
||||||
lint.per-file-ignores."src/character/management/commands/*" = [
|
|
||||||
"RUF001", # String contains ambiguous unicode character
|
|
||||||
]
|
|
||||||
lint.per-file-ignores."src/conftest.py" = [
|
|
||||||
"INP001",
|
|
||||||
]
|
|
||||||
lint.per-file-ignores."src/manage.py" = [
|
|
||||||
"INP001",
|
|
||||||
]
|
|
||||||
# File {name} is part of an implicit namespace package. Add an `__init__.py`.
|
|
||||||
lint.per-file-ignores."tasks.py" = [
|
|
||||||
"INP001",
|
|
||||||
]
|
|
||||||
lint.unfixable = [
|
|
||||||
"RUF001",
|
"RUF001",
|
||||||
"RUF002",
|
"RUF002",
|
||||||
"RUF003",
|
"RUF003",
|
||||||
"T20",
|
|
||||||
]
|
]
|
||||||
lint.mccabe.max-complexity = 10
|
|
||||||
lint.pydocstyle.convention = "pep257"
|
ignore = [
|
||||||
|
"ANN", # flake8-annotations
|
||||||
|
"BLE", # flake8-blind-except
|
||||||
|
"TCH", # flake8-type-checking / TODO: revisit later ?
|
||||||
|
|
||||||
|
"E501", # long lines
|
||||||
|
"D1", # missing docstring
|
||||||
|
"TRY003", # Avoid specifying long messages outside the exception class
|
||||||
|
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.ruff.lint.per-file-ignores]
|
||||||
|
"**/tests/*" = [
|
||||||
|
"S101", # Use of assert detected.
|
||||||
|
"S106", # Possible hardcoded password.
|
||||||
|
"B011", # Do not call assert False since python -O removes these calls.
|
||||||
|
"ARG001", # Unused function argument (mostly fixtures)
|
||||||
|
"PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
|
||||||
|
"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" = [
|
||||||
|
"INP001",
|
||||||
|
]
|
||||||
|
"src/conftest.py" = [
|
||||||
|
"INP001",
|
||||||
|
]
|
||||||
|
"src/manage.py" = [
|
||||||
|
"INP001",
|
||||||
|
]
|
||||||
|
|
||||||
|
"src/character/management/commands/*" = [
|
||||||
|
"RUF001", # String contains ambiguous unicode character
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.ruff.lint.pydocstyle]
|
||||||
|
convention = "pep257"
|
||||||
|
|
||||||
|
[tool.ruff.lint.mccabe]
|
||||||
|
max-complexity = 10
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = """
|
addopts = """
|
||||||
|
|
|
@ -66,7 +66,7 @@ h11==0.14.0
|
||||||
# via
|
# via
|
||||||
# -c constraints.txt
|
# -c constraints.txt
|
||||||
# wsproto
|
# wsproto
|
||||||
hypothesis==6.102.4
|
hypothesis==6.102.0
|
||||||
# via -r requirements-dev.in
|
# via -r requirements-dev.in
|
||||||
identify==2.5.36
|
identify==2.5.36
|
||||||
# via pre-commit
|
# via pre-commit
|
||||||
|
@ -103,7 +103,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
|
||||||
|
@ -121,7 +121,7 @@ pysocks==1.7.1
|
||||||
# via
|
# via
|
||||||
# -c constraints.txt
|
# -c constraints.txt
|
||||||
# urllib3
|
# 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
|
||||||
|
@ -149,7 +149,7 @@ pyxdg==0.28
|
||||||
# via bpython
|
# via bpython
|
||||||
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
|
||||||
# bpython
|
# bpython
|
||||||
|
@ -157,7 +157,7 @@ requests==2.32.0
|
||||||
# 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
|
||||||
# -c constraints.txt
|
# -c constraints.txt
|
||||||
# pytest-selenium
|
# pytest-selenium
|
||||||
|
@ -179,7 +179,7 @@ sqlparse==0.5.0
|
||||||
# django-debug-toolbar
|
# django-debug-toolbar
|
||||||
tenacity==8.3.0
|
tenacity==8.3.0
|
||||||
# via pytest-selenium
|
# via pytest-selenium
|
||||||
trio==0.25.1
|
trio==0.25.0
|
||||||
# via
|
# via
|
||||||
# -c constraints.txt
|
# -c constraints.txt
|
||||||
# selenium
|
# selenium
|
||||||
|
@ -197,7 +197,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
|
||||||
wcwidth==0.2.13
|
wcwidth==0.2.13
|
||||||
# via blessed
|
# via blessed
|
||||||
|
|
|
@ -63,11 +63,11 @@ pillow==10.3.0
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
pysocks==1.7.1
|
pysocks==1.7.1
|
||||||
# via urllib3
|
# via urllib3
|
||||||
requests==2.32.0
|
requests==2.31.0
|
||||||
# via
|
# via
|
||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# django-anymail
|
# django-anymail
|
||||||
selenium==4.21.0
|
selenium==4.20.0
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
sniffio==1.3.1
|
sniffio==1.3.1
|
||||||
# via trio
|
# via trio
|
||||||
|
@ -75,7 +75,7 @@ sortedcontainers==2.4.0
|
||||||
# via trio
|
# via trio
|
||||||
sqlparse==0.5.0
|
sqlparse==0.5.0
|
||||||
# via django
|
# via django
|
||||||
trio==0.25.1
|
trio==0.25.0
|
||||||
# via
|
# via
|
||||||
# selenium
|
# selenium
|
||||||
# trio-websocket
|
# trio-websocket
|
||||||
|
|
Loading…
Reference in a new issue