jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  https://www.quantifiedcode.com/app/project/gh:jayvdb:pywikibot-core shows 
quite a few real problems.
  
  It might be helpful to identify what checker they are using.  
http://docs.quantifiedcode.com/faq/analysis/linters_which.html says they 
"pylint, pyflakes, phpmd, jslint" , which seems a little strange as they only 
support Python.
  
  It looks like many are their own custom `Cody` rules.
  
  {T74697} would probably catch most of these.
  
  * Remove unreachable code
  ** pywikibot/tools/__init__.py is a false positive
  ** cosmetic changes already has a patch submitted.
  **  {T122956}
  * `else` clause on a loop without a `break` statement
  ** ignore ; the checker is not smart enough

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

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

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



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

Reply via email to