pep8-naming icon indicating copy to clipboard operation
pep8-naming copied to clipboard

False positive for HTTP request handler do_METHOD methods

Open djmattyg007 opened this issue 2 years ago • 1 comments

The built-in base HTTP request handler class in http.server asks you to create methods named (for example) do_GET, do_POST, etc. Rule N802 warns about these methods.

djmattyg007 avatar Apr 25 '22 13:04 djmattyg007

Given there are mechanisms to ignore this, what do you want from us? As it stands now, you're complaining about intended behavior interacting with barely used standard library method names

sigmavirus24 avatar Apr 25 '22 15:04 sigmavirus24