Merlijn van Deen has uploaded a new change for review. https://gerrit.wikimedia.org/r/76519
Change subject: Add initial .pep8 configuration file ...................................................................... Add initial .pep8 configuration file Max line length is set to 256 - this is too long, but there are *a lot* of scripts with very long lines. This allows us to fix the most important ones first. distribute_setup.py is externally-delivered and is thus ignored externals/* should be ignored user-config.py also should be ignored all i18n files and date.py are basically databases-in-python-format and therefore are exempt from pep8 rules Change-Id: I1bba208a9277dbcacb0e2c2001e2dc3252e4b21b --- A .pep8 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/19/76519/1 diff --git a/.pep8 b/.pep8 new file mode 100644 index 0000000..4827278 --- /dev/null +++ b/.pep8 @@ -0,0 +1,3 @@ +[pep8] +exclude = distribute_setup.py,externals,user-config.py,./scripts/i18n/*,./pywikibot/date.py +max_line_length = 256 -- To view, visit https://gerrit.wikimedia.org/r/76519 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1bba208a9277dbcacb0e2c2001e2dc3252e4b21b Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Merlijn van Deen <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
