From 64d5fe0b6680f1fe7df6af3b4673107ddbaf2f7c Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Tue, 11 Aug 2020 11:17:55 +0100 Subject: [PATCH] Stop ignoring Flake8 `First argument of a method should be named 'self'` Already no breakages of this rule in the whole of Wagtail! --- setup.cfg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index fc007b622c..881b5e399d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,9 +16,8 @@ python-tag = py3 # D401: First line should be in imperative mood # E501: Line too long # W503: line break before binary operator (superseded by W504 line break after binary operator) -# N805: First argument of a method should be named 'self' # N806: Variable in function should be lowercase -ignore = D100,D101,D102,D103,D105,D200,D202,D204,D205,D209,D400,D401,E501,W503,N805,N806 +ignore = D100,D101,D102,D103,D105,D200,D202,D204,D205,D209,D400,D401,E501,W503,N806 exclude = wagtail/project_template/* max-line-length = 120