Stop ignoring Flake8 `First argument of a method should be named 'self'`

Already no breakages of this rule in the whole of Wagtail!
pull/6319/head
Karl Hobley 2020-08-11 11:17:55 +01:00 zatwierdzone przez Matt Westcott
rodzic 2c8ec6336a
commit 64d5fe0b66
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -16,9 +16,8 @@ python-tag = py3
# D401: First line should be in imperative mood # D401: First line should be in imperative mood
# E501: Line too long # E501: Line too long
# W503: line break before binary operator (superseded by W504 line break after binary operator) # 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 # 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/* exclude = wagtail/project_template/*
max-line-length = 120 max-line-length = 120