Update pre-commit
This commit is contained in:
@@ -11,7 +11,7 @@ repos:
|
||||
exclude: ".*(galleria|photoswipe|jquery|leaflet).*$"
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.2.2
|
||||
rev: v3.3.1
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: ["--py38-plus"]
|
||||
@@ -22,7 +22,7 @@ repos:
|
||||
- id: isort
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.10.0
|
||||
rev: 22.12.0
|
||||
hooks:
|
||||
- id: black
|
||||
|
||||
|
||||
@@ -8,5 +8,4 @@ write_to = "src/sigal/version.py"
|
||||
[tool.black]
|
||||
line-length = 88
|
||||
target-version = ['py38']
|
||||
preview = true
|
||||
skip-string-normalization = true
|
||||
|
||||
@@ -133,8 +133,7 @@ def test_media_iptc_override(settings):
|
||||
== 'Haemostratulus clouds over Canberra - 2005-12-28 at 03-25-07'
|
||||
)
|
||||
assert (
|
||||
img_no_md.description
|
||||
== '"Haemo" because they look like haemoglobin '
|
||||
img_no_md.description == '"Haemo" because they look like haemoglobin '
|
||||
'cells and "stratulus" because I can\'t work out whether '
|
||||
'they\'re Stratus or Cumulus clouds.\nWe\'re driving down '
|
||||
'the main drag in Canberra so it\'s Parliament House that '
|
||||
|
||||
Reference in New Issue
Block a user