E302가 뜨는데 실행은 잘 됩니다
-
from .User_models import User
from django.views.generic import ListView, DeleteView, CreateView, DetailView, UpdateView
from django.urls import reverse_lazyclass UserListView(ListView):
template_name = 'Stats/Users/list.html'
model = Userdef get_context_data(self, **kwargs): context = super(UserListView, self).get_context_data(**kwargs) return context
이렇게 구성했는데 class UserListView에서 E302 expected 2 blanks line, found 1 이렇게 뜹니다. 상당히 거슬리는데 내부적으로 어떻게 이 알림을 끄는지 방법을 못찾겠습니다.
flake8이 이런 기능을 담당하는것같은데 어떻게 끄나요??
-
우와 이거군요 왜 몰랐을까요 ㅋㅋㅋㅋ;;;;;
감사합니다 좋은 하루 되세요!
-
에디터에서 나타는 에러라면
https://help.goorm.io/ko/goormide/18.faq/language-and-environment/remove-red-lines
을 참고하시면 될거 같아요!