From cad07f370f2cab690eca98f9215dbe3695c6b2a6 Mon Sep 17 00:00:00 2001 From: Serene-Arc <33189705+Serene-Arc@users.noreply.github.com> Date: Sun, 24 Sep 2023 13:56:49 +1000 Subject: [PATCH] Update formatting reference --- CONTRIBUTING.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 4e2df8cf9..bf2537e4f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -216,11 +216,11 @@ There are a few coding conventions we use in beets: Style ----- -We follow `PEP 8`_ and `google's docstring format`_. +We follow `black`_ formatting and `google's docstring format`_. You can use ``tox -e lint`` to check your code for any style errors. -.. _PEP 8: https://www.python.org/dev/peps/pep-0008/ +.. _black: https://black.readthedocs.io/en/stable/ .. _google's docstring format: https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings Handling Paths