Patchwork [2,of,2,topics] flake8: ignore N801

login
register
mail settings
Submitter Anton Shestakov
Date Sept. 7, 2016, 2:45 a.m.
Message ID <8464a7708f9d73de1d13.1473216340@neuro>
Download mbox | patch
Permalink /patch/16567/
State Accepted
Headers show

Comments

Anton Shestakov - Sept. 7, 2016, 2:45 a.m.
# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1473216018 -28800
#      Wed Sep 07 10:40:18 2016 +0800
# Node ID 8464a7708f9d73de1d13c2c4e5e5b6970ea0ec62
# Parent  d9c1d140a831614a1a3994a0d87ec27ed3282049
flake8: ignore N801

N801 is "class names should use CapWords convention"

The message comes from a pep8 plugin "pep8-naming" which cares about naming
conventions. If the plugin is installed, it is automatically used by pep8 and
flake8.
Sean Farley - Sept. 7, 2016, 5:47 p.m.
Anton Shestakov <av6@dwimlabs.net> writes:

> # HG changeset patch
> # User Anton Shestakov <av6@dwimlabs.net>
> # Date 1473216018 -28800
> #      Wed Sep 07 10:40:18 2016 +0800
> # Node ID 8464a7708f9d73de1d13c2c4e5e5b6970ea0ec62
> # Parent  d9c1d140a831614a1a3994a0d87ec27ed3282049
> flake8: ignore N801
>
> N801 is "class names should use CapWords convention"
>
> The message comes from a pep8 plugin "pep8-naming" which cares about naming
> conventions. If the plugin is installed, it is automatically used by pep8 and
> flake8.

These seem good to me.
Pierre-Yves David - Sept. 7, 2016, 6:24 p.m.
On 09/07/2016 07:47 PM, Sean Farley wrote:
> Anton Shestakov <av6@dwimlabs.net> writes:
>
>> # HG changeset patch
>> # User Anton Shestakov <av6@dwimlabs.net>
>> # Date 1473216018 -28800
>> #      Wed Sep 07 10:40:18 2016 +0800
>> # Node ID 8464a7708f9d73de1d13c2c4e5e5b6970ea0ec62
>> # Parent  d9c1d140a831614a1a3994a0d87ec27ed3282049
>> flake8: ignore N801
>>
>> N801 is "class names should use CapWords convention"
>>
>> The message comes from a pep8 plugin "pep8-naming" which cares about naming
>> conventions. If the plugin is installed, it is automatically used by pep8 and
>> flake8.
>
> These seem good to me.

Pushed.

Patch

diff --git a/setup.cfg b/setup.cfg
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,2 @@ 
 [flake8]
-ignore = E261, E266, E302, E129, E731, E124, E501, E123, W503
+ignore = E261, E266, E302, E129, E731, E124, E501, E123, W503, N801