Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.20.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: [--py310-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.28.0
rev: 1.30.0
hooks:
- id: django-upgrade
args: [--target-version, "4.2"]
- repo: https://github.com/pycqa/isort
rev: 6.0.1
rev: 9.0.0a3
hooks:
- id: isort
args: [--profile=black, --lines-after-imports=2, --combine-as]
- repo: https://github.com/psf/black
rev: 25.1.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
Expand Down
1 change: 0 additions & 1 deletion feincms_oembed/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from django.utils import timezone
from django.utils.translation import gettext_lazy as _


DEFAULT_MAX_AGE = 7 * 24 * 60 * 60 # Cache lookups for a week


Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
from setuptools import setup


setup()
1 change: 0 additions & 1 deletion tests/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import os
import sys


sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))

if __name__ == "__main__":
Expand Down
1 change: 0 additions & 1 deletion tests/testapp/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from feincms_oembed.contents import OembedContent


Page.register_templates(
{
"key": "base",
Expand Down
1 change: 0 additions & 1 deletion tests/testapp/settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os


INSTALLED_APPS = (
"django.contrib.auth",
"django.contrib.contenttypes",
Expand Down
1 change: 0 additions & 1 deletion tests/testapp/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from feincms_oembed.models import CachedLookup


ASTLEY = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"


Expand Down
1 change: 0 additions & 1 deletion tests/testapp/urls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from django.contrib import admin
from django.urls import include, path


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