[PATCH 2 of 2 topics] flake8: ignore N801

Anton Shestakov av6 at dwimlabs.net
Tue Sep 6 22:45:40 EDT 2016


# HG changeset patch
# User Anton Shestakov <av6 at 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.

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


More information about the Mercurial-devel mailing list