diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2018-01-31 16:05:18 -0600 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-02-01 14:32:06 -0600 |
commit | cb44907730c61a280ff7d61d1bd42d0772bef6e1 (patch) | |
tree | 492548574f1518dab5015e33b80f801b2544a566 | |
parent | 08f1063360c3ff9dfec94b396e59641089198efe (diff) | |
download | openbmc-docs-cb44907730c61a280ff7d61d1bd42d0772bef6e1.tar.gz openbmc-docs-cb44907730c61a280ff7d61d1bd42d0772bef6e1.zip |
Add information about enforcing default ignore rules
Change-Id: I63d552afa1c916586c03618d52ed64ed86575994
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r-- | cpp-style-and-conventions.md | 9 |
1 files changed, 9 insertions, 0 deletions
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 |