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

TASK DESCRIPTION
  **Current Behaviour**
  `isort `is currently configured to automatically add `from __future__ import 
annotations` to Python modules. However, some files (e.g. configuration modules 
like `pywikibot/config.py` or bootstrap scripts such as `pwb.py`) must not 
receive this import. At the moment, pwb.py is excluded from the `isort` hook 
entirely.
  
  **Proposal**
  Provide a way to exclude specific files from automatically adding the future 
import while keeping all other isort functionality (e.g. import sorting and 
formatting) enabled for given files.

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

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

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to