Skip to content

Commit d50616c

Browse files
[pre-commit.ci] pre-commit autoupdate (#11)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.20.0 → v3.21.2](asottile/pyupgrade@v3.20.0...v3.21.2) - [github.com/adamchainz/django-upgrade: 1.28.0 → 1.30.0](adamchainz/django-upgrade@1.28.0...1.30.0) - [github.com/pycqa/isort: 6.0.1 → 9.0.0a3](PyCQA/isort@6.0.1...9.0.0a3) - https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 25.1.0 → 26.5.0](psf/black-pre-commit-mirror@25.1.0...26.5.0) * [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 6862573 commit d50616c

8 files changed

Lines changed: 5 additions & 12 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ repos:
88
- id: end-of-file-fixer
99
- id: trailing-whitespace
1010
- repo: https://github.com/asottile/pyupgrade
11-
rev: v3.20.0
11+
rev: v3.21.2
1212
hooks:
1313
- id: pyupgrade
1414
args: [--py310-plus]
1515
- repo: https://github.com/adamchainz/django-upgrade
16-
rev: 1.28.0
16+
rev: 1.30.0
1717
hooks:
1818
- id: django-upgrade
1919
args: [--target-version, "4.2"]
2020
- repo: https://github.com/pycqa/isort
21-
rev: 6.0.1
21+
rev: 9.0.0a3
2222
hooks:
2323
- id: isort
2424
args: [--profile=black, --lines-after-imports=2, --combine-as]
25-
- repo: https://github.com/psf/black
26-
rev: 25.1.0
25+
- repo: https://github.com/psf/black-pre-commit-mirror
26+
rev: 26.5.0
2727
hooks:
2828
- id: black
2929
- repo: https://github.com/pycqa/flake8

feincms_oembed/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from django.utils import timezone
1010
from django.utils.translation import gettext_lazy as _
1111

12-
1312
DEFAULT_MAX_AGE = 7 * 24 * 60 * 60 # Cache lookups for a week
1413

1514

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python3
22
from setuptools import setup
33

4-
54
setup()

tests/manage.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import os
33
import sys
44

5-
65
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
76

87
if __name__ == "__main__":

tests/testapp/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from feincms_oembed.contents import OembedContent
44

5-
65
Page.register_templates(
76
{
87
"key": "base",

tests/testapp/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22

3-
43
INSTALLED_APPS = (
54
"django.contrib.auth",
65
"django.contrib.contenttypes",

tests/testapp/test_admin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from feincms_oembed.models import CachedLookup
66

7-
87
ASTLEY = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
98

109

tests/testapp/urls.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from django.contrib import admin
22
from django.urls import include, path
33

4-
54
urlpatterns = [path("admin/", admin.site.urls), path("", include("feincms.urls"))]

0 commit comments

Comments
 (0)