Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#46)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
pre-commit-ci[bot] authored Apr 2, 2024
1 parent edd6968 commit 8be2996
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.3.0
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
args: [--max-line-length=88]
Expand All @@ -37,7 +37,7 @@ repos:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args: [--py36-plus]
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
[1] https://github.com/getpelican/pelican-plugins/blob/master/liquid_tags/video.py
"""

import os
import re

Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/b64img.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
[1] https://github.com/imathis/octopress/blob/master/plugins/image_tag.rb
"""

import base64
import re

Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/flickr.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
------
<a href="https://www.flickr.com/photos/marvinxsteadfast/18841055371/"><img src="https://farm6.staticflickr.com/5552/18841055371_17ac287217_b.jpg" alt="Fichte"></a>
"""

import json
import re

Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
of variables are from the LIQUID_CONFIGS setting, which is a list of
variables to pass to the liquid tags.
"""

from .mdx_liquid_tags import LiquidTags


Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/giphy.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
------
<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>
"""

import json
import re

Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/gram.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<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">
"""

import re

try:
Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/img.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
[1] https://github.com/imathis/octopress/blob/master/plugins/image_tag.rb
"""

import re

from .mdx_liquid_tags import LiquidTags
Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/include_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
[1] https://github.com/imathis/octopress/blob/master/plugins/include_code.rb
"""

import os
import re
import sys
Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/literal.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
This is useful when the resulting line would be interpreted as another
liquid-style tag.
"""

from .mdx_liquid_tags import LiquidTags


Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/mdx_liquid_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
These result in a preprocess step within markdown that produces
either markdown or html.
"""

import itertools
import re
import warnings
Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
that this CSS will not override formats within the blog theme, but there may
still be some conflicts.
"""

from copy import deepcopy
from functools import partial
import os
Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/soundcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
</iframe>
```
"""

import json
import re

Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/speakerdeck.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
src="//speakerdeck.com/assets/embed.js">
</script>
"""

import re

from .mdx_liquid_tags import LiquidTags
Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/spotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
width='300' height='380' frameborder='0' allowtransparency='true'>
</iframe>
"""

import re

from .mdx_liquid_tags import LiquidTags
Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
[1] https://github.com/imathis/octopress/blob/master/plugins/video_tag.rb
"""

import os
import re

Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/vimeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
[1] https://gist.github.com/jamieowen/2063748
"""

import re

from .mdx_liquid_tags import LiquidTags
Expand Down
1 change: 1 addition & 0 deletions pelican/plugins/liquid_tags/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
[1] https://gist.github.com/jamieowen/2063748
"""

import re

from .mdx_liquid_tags import LiquidTags
Expand Down

0 comments on commit 8be2996

Please sign in to comment.