[MediaWiki-commits] [Gerrit] Disable pep257 D211 - change (pywikibot/core)

2015-10-06 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Disable pep257 D211
..


Disable pep257 D211

D211 will be introduced in pep257 0.6.1, and requires removing
a blank line from the top of all classes.

As 0.6.0 would complain about the extra line, disable this rule
until 0.6.1 is widely accepted and installed by our team.

Change-Id: I4f7d3291eac7d1f5d1b431fb5eaaf9ecbe11b510
---
M tox.ini
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tox.ini b/tox.ini
index a46ddf2..33d93fe 100644
--- a/tox.ini
+++ b/tox.ini
@@ -235,7 +235,7 @@
 -rdocs/requirements-py3.txt
 
 [flake8]
-ignore = 
E241,E402,E731,FI10,FI12,FI13,FI15,FI5,H101,H201,H202,H236,H237,H301,H306,H404,H405,H501,P102,P103
+ignore = 
E241,E402,E731,D211,FI10,FI12,FI13,FI15,FI5,H101,H201,H202,H236,H237,H301,H306,H404,H405,H501,P102,P103
 exclude = 
.tox,.git,./*.egg,ez_setup.py,build,externals,user-config.py,./scripts/i18n/*
 max_line_length = 130
 accept-encodings = utf-8
@@ -245,3 +245,6 @@
 ignore = E241,E402,E731
 exclude = 
.tox,.git,./*.egg,ez_setup.py,build,externals,user-config.py,./scripts/i18n/*
 max_line_length = 130
+
+[pep257]
+ignore = D211

-- 
To view, visit https://gerrit.wikimedia.org/r/243867
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f7d3291eac7d1f5d1b431fb5eaaf9ecbe11b510
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg 
Gerrit-Reviewer: Ladsgroup 
Gerrit-Reviewer: Xqt 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Disable pep257 D211 - change (pywikibot/core)

2015-10-05 Thread John Vandenberg (Code Review)
John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/243867

Change subject: Disable pep257 D211
..

Disable pep257 D211

D211 will be introduced in pep257 0.6.1, and requires removing
a blank line from the top of all classes.

As 0.6.0 would complain about the extra line, disable this rule
until 0.6.1 is widely accepted and installed by our team.

Change-Id: I4f7d3291eac7d1f5d1b431fb5eaaf9ecbe11b510
---
M tox.ini
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/67/243867/1

diff --git a/tox.ini b/tox.ini
index a46ddf2..33d93fe 100644
--- a/tox.ini
+++ b/tox.ini
@@ -235,7 +235,7 @@
 -rdocs/requirements-py3.txt
 
 [flake8]
-ignore = 
E241,E402,E731,FI10,FI12,FI13,FI15,FI5,H101,H201,H202,H236,H237,H301,H306,H404,H405,H501,P102,P103
+ignore = 
E241,E402,E731,D211,FI10,FI12,FI13,FI15,FI5,H101,H201,H202,H236,H237,H301,H306,H404,H405,H501,P102,P103
 exclude = 
.tox,.git,./*.egg,ez_setup.py,build,externals,user-config.py,./scripts/i18n/*
 max_line_length = 130
 accept-encodings = utf-8
@@ -245,3 +245,6 @@
 ignore = E241,E402,E731
 exclude = 
.tox,.git,./*.egg,ez_setup.py,build,externals,user-config.py,./scripts/i18n/*
 max_line_length = 130
+
+[pep257]
+ignore = D211

-- 
To view, visit https://gerrit.wikimedia.org/r/243867
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f7d3291eac7d1f5d1b431fb5eaaf9ecbe11b510
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits