Xqt created this task.
Xqt added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Introduction
  ------------
  
  With PEP 498 a new kind of literal  was implemented. //f-strings// can use 
fields which are evaluated at run time.
  https://docs.python.org/3.6/whatsnew/3.6.html#whatsnew36-pep498
  
  What to do
  ----------
  
  replace literals like `'He said his name is {name}.'.format(name=name)` with 
f'He said his name is {name}.'. Some of the literals which can be replace may 
be found at https://deepsource.io/gh/xqt/pwb/issue/PYL-C0209/occurrences
  
  Useful links
  ------------
  
  - Pywikibot documentation <https://doc.wikimedia.org/pywikibot/master/>
  - Pywikibot Manual <https://www.mediawiki.org/wiki/Manual:Pywikibot>
  - Python Coding Convention 
<https://www.mediawiki.org/wiki/Manual:Coding_conventions/Python>
  - Pywikibot Development Guidelines 
<https://www.mediawiki.org/wiki/Manual:Pywikibot/Development/Guidelines>

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

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

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to