From 4b89980f337c7e700bac4eb8905b38362ab4b5f3 Mon Sep 17 00:00:00 2001 From: odrling Date: Sat, 16 Mar 2024 01:12:40 +0100 Subject: [PATCH] remove flake8 configuration --- dakara_server/internal/cache_model.py | 2 +- setup.cfg | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/dakara_server/internal/cache_model.py b/dakara_server/internal/cache_model.py index b94cd5d6..757c43f7 100644 --- a/dakara_server/internal/cache_model.py +++ b/dakara_server/internal/cache_model.py @@ -50,7 +50,7 @@ def handle_decorator(field): ) def handle(sender, **kwargs): instance = kwargs.get("instance") - field.on_delete(instance, self) + field.cache_on_delete(instance, self) return handle diff --git a/setup.cfg b/setup.cfg index 3e7d4607..619cbdba 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,3 @@ -[flake8] -max-line-length = 88 -ignore = E203, W503 - [coverage:run] omit = */tests/*, */conftest.py