From b69b1a30d750f36291177be7593a3ff52231d0cf Mon Sep 17 00:00:00 2001 From: Antti Kaihola <13725+akaihola@users.noreply.github.com> Date: Tue, 10 Jan 2023 23:15:26 +0200 Subject: [PATCH 1/2] `coverage` to use relative paths in Darker repo --- .coveragerc | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..ec4cbc4f6 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,2 @@ +[run] +relative_files = true From e51adffd2aae3aa1cc4eb3ffec0432f442df7978 Mon Sep 17 00:00:00 2001 From: Antti Kaihola <13725+akaihola@users.noreply.github.com> Date: Mon, 16 Jan 2023 23:06:44 +0200 Subject: [PATCH 2/2] Update the change log --- CHANGES.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 3d8ee0db2..2843d6da7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -29,6 +29,8 @@ Fixed Windows. - Split and join command lines using ``shlex`` from the Python standard library. This deals with quoting correctly. +- Configure ``coverage`` to use relative paths in the Darker repository. This enables + use of ``cov_to_lint.py`` 1.6.1_ - 2022-12-28