[wesnoth-commits] [wesnoth/wesnoth] 9b7a28: Alphabetically sort import statements and add comm...

Alexander Lacson noreply at github.com
Wed Jun 30 16:19:09 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9b7a2875952ad9f6a8536ad5b68943445c8dc982
      https://github.com/wesnoth/wesnoth/commit/9b7a2875952ad9f6a8536ad5b68943445c8dc982
  Author: Alexander Lacson <41433185+max-torch at users.noreply.github.com>
  Date:   2021-06-30 (Wed, 30 Jun 2021)

  Changed paths:
    M data/tools/wmlunits

  Log Message:
  -----------
  Alphabetically sort import statements and add comment explaining separation of `import yaml`

Sorting import statements was made easier and less error-prone using [isort](https://pypi.org/project/isort/)

Make it clear that the `yaml` package is not part of Python's Standard Library and should be installed with a package manager as outlined in [this](https://pep8.org/#imports) section of PEP8.





More information about the Commits mailing list