[PATCH] mandate pep8 compliance for python code contributions

已查看 4 次
跳至第一个未读帖子

Nicholas Mc Guire

未读,
2016年7月20日 06:31:282016/7/20
收件人 jailho...@googlegroups.com、Nicholas Mc Guire
Mandate pep8 coding style checker compliance of python contributions as
basic QA.

Signed-off-by: Nicholas Mc Guire <hof...@osadl.org>
---
CONTRIBUTING.md | 1 +
1 file changed, 1 insertion(+)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 98c7527..17e9d56 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -12,6 +12,7 @@ Contribution Checklist
- use git to manage your changes [*recomended*]

- follow Documentation/coding-style.txt coding style [**required**]
+ - for python code run pep8 coding style checker [**required**]

- add the required copyright header to each new file introduced, see
[licensing information](LICENSING.md) [**required**]
--
1.7.10.4

Henning Schild

未读,
2016年7月20日 06:38:402016/7/20
收件人 Nicholas Mc Guire、jailho...@googlegroups.com
Am Wed, 20 Jul 2016 12:22:08 +0200
schrieb Nicholas Mc Guire <hof...@osadl.org>:

> Mandate pep8 coding style checker compliance of python contributions
> as basic QA.
>
> Signed-off-by: Nicholas Mc Guire <hof...@osadl.org>
> ---
> CONTRIBUTING.md | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
> index 98c7527..17e9d56 100644
> --- a/CONTRIBUTING.md
> +++ b/CONTRIBUTING.md
> @@ -12,6 +12,7 @@ Contribution Checklist
> - use git to manage your changes [*recomended*]
>
> - follow Documentation/coding-style.txt coding style [**required**]
> + - for python code run pep8 coding style checker [**required**]

That is indeed not mentioned anywhere yet. Also that we require python
code to work under both python 3 and 2(.7)
回复全部
回复作者
转发
0 个新帖子