Skip to content

Commit 8be2996

Browse files
[pre-commit.ci] pre-commit autoupdate (#46)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.1 → 24.3.0](psf/black@23.12.1...24.3.0) - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](PyCQA/flake8@6.1.0...7.0.0) - [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](asottile/pyupgrade@v3.15.0...v3.15.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent edd6968 commit 8be2996

18 files changed

+20
-3
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ repos:
2020
- id: trailing-whitespace
2121

2222
- repo: https://github.com/psf/black
23-
rev: 23.12.1
23+
rev: 24.3.0
2424
hooks:
2525
- id: black
2626

2727
- repo: https://github.com/PyCQA/flake8
28-
rev: 6.1.0
28+
rev: 7.0.0
2929
hooks:
3030
- id: flake8
3131
args: [--max-line-length=88]
@@ -37,7 +37,7 @@ repos:
3737
- id: isort
3838

3939
- repo: https://github.com/asottile/pyupgrade
40-
rev: v3.15.0
40+
rev: v3.15.2
4141
hooks:
4242
- id: pyupgrade
4343
args: [--py36-plus]

pelican/plugins/liquid_tags/audio.py

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
1919
[1] https://github.com/getpelican/pelican-plugins/blob/master/liquid_tags/video.py
2020
"""
21+
2122
import os
2223
import re
2324

pelican/plugins/liquid_tags/b64img.py

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
2323
[1] https://github.com/imathis/octopress/blob/master/plugins/image_tag.rb
2424
"""
25+
2526
import base64
2627
import re
2728

pelican/plugins/liquid_tags/flickr.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
------
2020
<a href="https://www.flickr.com/photos/marvinxsteadfast/18841055371/"><img src="https://farm6.staticflickr.com/5552/18841055371_17ac287217_b.jpg" alt="Fichte"></a>
2121
"""
22+
2223
import json
2324
import re
2425

pelican/plugins/liquid_tags/generic.py

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
of variables are from the LIQUID_CONFIGS setting, which is a list of
1919
variables to pass to the liquid tags.
2020
"""
21+
2122
from .mdx_liquid_tags import LiquidTags
2223

2324

pelican/plugins/liquid_tags/giphy.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
------
2020
<a href="http://giphy.com/gifs/veronica-mars-aMSJFS6oFX0fC"><img src="http://media4.giphy.com/media/aMSJFS6oFX0fC/giphy.gif" alt="ive had some free time"></a>
2121
"""
22+
2223
import json
2324
import re
2425

pelican/plugins/liquid_tags/gram.py

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
3838
<img src="http://photos-c.ak.instagram.com/hphotos-ak-xaf1/t51.2885-15/917172_604907902963826_254280879_n.jpg" width="450" title="warehouse window title" alt="alt text" class="test_class instagram">
3939
"""
40+
4041
import re
4142

4243
try:

pelican/plugins/liquid_tags/img.py

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
3737
[1] https://github.com/imathis/octopress/blob/master/plugins/image_tag.rb
3838
"""
39+
3940
import re
4041

4142
from .mdx_liquid_tags import LiquidTags

pelican/plugins/liquid_tags/include_code.py

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
3838
[1] https://github.com/imathis/octopress/blob/master/plugins/include_code.rb
3939
"""
40+
4041
import os
4142
import re
4243
import sys

pelican/plugins/liquid_tags/literal.py

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
This is useful when the resulting line would be interpreted as another
1616
liquid-style tag.
1717
"""
18+
1819
from .mdx_liquid_tags import LiquidTags
1920

2021

pelican/plugins/liquid_tags/mdx_liquid_tags.py

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
These result in a preprocess step within markdown that produces
1010
either markdown or html.
1111
"""
12+
1213
import itertools
1314
import re
1415
import warnings

pelican/plugins/liquid_tags/notebook.py

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
that this CSS will not override formats within the blog theme, but there may
4848
still be some conflicts.
4949
"""
50+
5051
from copy import deepcopy
5152
from functools import partial
5253
import os

pelican/plugins/liquid_tags/soundcloud.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
</iframe>
2626
```
2727
"""
28+
2829
import json
2930
import re
3031

pelican/plugins/liquid_tags/speakerdeck.py

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
src="//speakerdeck.com/assets/embed.js">
2222
</script>
2323
"""
24+
2425
import re
2526

2627
from .mdx_liquid_tags import LiquidTags

pelican/plugins/liquid_tags/spotify.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
width='300' height='380' frameborder='0' allowtransparency='true'>
2020
</iframe>
2121
"""
22+
2223
import re
2324

2425
from .mdx_liquid_tags import LiquidTags

pelican/plugins/liquid_tags/video.py

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
2323
[1] https://github.com/imathis/octopress/blob/master/plugins/video_tag.rb
2424
"""
25+
2526
import os
2627
import re
2728

pelican/plugins/liquid_tags/vimeo.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
2626
[1] https://gist.github.com/jamieowen/2063748
2727
"""
28+
2829
import re
2930

3031
from .mdx_liquid_tags import LiquidTags

pelican/plugins/liquid_tags/youtube.py

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
5252
[1] https://gist.github.com/jamieowen/2063748
5353
"""
54+
5455
import re
5556

5657
from .mdx_liquid_tags import LiquidTags

0 commit comments

Comments
 (0)