remove outdated advice from Python 2 times in CONTRIBUTING.rst (#5733)

This commit is contained in:
Benedikt 2025-04-16 10:51:09 +02:00 committed by GitHub
parent b4a634a443
commit 3c177b56fb
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