Merge branch 'master' into typehints-plugins

This commit is contained in:
Sebastian Mohr 2025-04-16 16:03:46 +02:00 committed by GitHub
commit d7c1d7f1a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -252,11 +252,6 @@ There are a few coding conventions we use in beets:
Transaction objects help control concurrent access to the database
and assist in debugging conflicting accesses.
- Always use the `future
imports <http://docs.python.org/library/__future__.html>`__
``print_function``, ``division``, and ``absolute_import``, but *not*
``unicode_literals``. These help keep your code modern and will help
in the eventual move to Python 3.
- ``str.format()`` should be used instead of the ``%`` operator
- Never ``print`` informational messages; use the
`logging <http://docs.python.org/library/logging.html>`__ module