jayvdb created this task.
Herald added a project: Documentation.

TASK DESCRIPTION
  isort <https://pypi.python.org/pypi/isort> can re-order/check imports 
according to a predefined ruleset.
  
  It looks like it doesnt support pywikibot's complex code 'correctly', but we 
may be able to develop a usable ruleset with some files excluded, in which case 
we can enable flake8-isort <https://pypi.python.org/pypi/flake8-isort>, and we 
can use that as the basis of documentation.
  
  It might be necessary to improve `isort` to generate imports in the desired 
pep8 ordering.
  And it may be beneficial to improve `isort` to better match our stylistic 
choices, however minor changes of our style would be acceptable **when** 
`flake8-isort` is enabled to ensure that the result style becomes a concrete 
enforced coding style.

TASK DETAIL
  https://phabricator.wikimedia.org/T132122

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: pywikibot-bugs-list, Aklapper, jayvdb, Jay8g, Spage



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to