From cb44907730c61a280ff7d61d1bd42d0772bef6e1 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Wed, 31 Jan 2018 16:05:18 -0600 Subject: Add information about enforcing default ignore rules Change-Id: I63d552afa1c916586c03618d52ed64ed86575994 Signed-off-by: Gunnar Mills --- cpp-style-and-conventions.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cpp-style-and-conventions.md b/cpp-style-and-conventions.md index 6b67e12..f09aefa 100644 --- a/cpp-style-and-conventions.md +++ b/cpp-style-and-conventions.md @@ -256,6 +256,15 @@ file is all that's needed. If so desired, an enforcement of 80 [pycodestyle] max-line-length = 80 ``` +By default, pycodestyle does not enforce the following rules: E121, E123, E126, +E133, E226, E241, E242, E704, W503, and W504. These rules are ignored because +they are not unanimously accepted and PEP 8 does not enforce them. It is at the +repository maintainer's discretion as to whether to enforce the aforementioned +rules. These rules can be enforced by adding the following to the setup.cfg: +``` +[pycodestyle] +ignore= NONE +``` ### Bracket style -- cgit v1.2.1