From 4e1d67a3dcc19d0f4a222bf9df07dde52a80127c Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Sun, 14 Apr 2024 03:22:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20a=20change=20note=20on=20`?= =?UTF-8?q?`autopep8``?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/changelog-fragments.d/65ba7e69.contrib.rst | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/changelog-fragments.d/65ba7e69.contrib.rst diff --git a/docs/changelog-fragments.d/65ba7e69.contrib.rst b/docs/changelog-fragments.d/65ba7e69.contrib.rst new file mode 100644 index 0000000000..5abd100023 --- /dev/null +++ b/docs/changelog-fragments.d/65ba7e69.contrib.rst @@ -0,0 +1,9 @@ +The project adopted the ``autopep8`` tool to assist with +automatic code formatting. It is chosen over ``black`` +because it is less intrusive which is important to the +maintainer as it promotes inclusivity. +``autopep8`` is integrated into the ``pre-commit`` check +runner and is configured to only correct :pep:`8` +violations, avoiding changes to compliant snippets. + +-- by :user:`webknjaz`