Skip to content

Conversation

naquiroz
Copy link
Contributor

This pull request adds all the Django's View class default HTTP methods to the is_model_view_subclass_method_shouldnt_be_function.

@coveralls
Copy link

coveralls commented Mar 30, 2021

Pull Request Test Coverage Report for Build 1433

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.867%

Totals Coverage Status
Change from base Build 1428: 0.0%
Covered Lines: 721
Relevant Lines: 830

💛 - Coveralls

@atodorov
Copy link
Contributor

PR looks good but there are too many unrelated failures. Let me try fixing those up a bit before we can merge this. I want to see CI reporting PASS before pressing the button.

@atodorov atodorov force-pushed the fix-view-methods-self branch from c4bfa98 to 97193ee Compare April 8, 2021 11:13
@atodorov atodorov force-pushed the fix-view-methods-self branch from 092ca68 to 364b26b Compare April 8, 2021 12:12
atodorov added 2 commits April 8, 2021 15:35
Django's View class doesn't implement a head() method but instead uses
self.head = ... if the child class doesn't override it. This leads to
the method-hidden checker being triggered.
@atodorov atodorov merged commit fce4b33 into pylint-dev:master Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants