From fd8e3f555d577f0ab88cd4fc414af358508c2756 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Mon, 2 Feb 2026 08:46:03 +1000 Subject: [PATCH 1/2] Add Python `.venv` to `.gitignore` We use codespell and pre-commit both Python packages installed from the requirements-dev.txt file. Usually for basic Python projects my IDE PyCharm auto sets up a .venv folder --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 84c7c4c4224..a1c136d1937 100644 --- a/.gitignore +++ b/.gitignore @@ -86,3 +86,6 @@ main/winaccessibility/source/UAccCOMIDL/dlldata.c # RepoRevision hash file /main/solenv/inc/reporevision.lst + +# Python +.venv From c5b91675767f3c39354b094feae381ff3b248fbd Mon Sep 17 00:00:00 2001 From: John Bampton Date: Mon, 2 Feb 2026 08:50:08 +1000 Subject: [PATCH 2/2] Fix pre-commit trim trailing whitespace --- main/vcl/source/control/spinfld.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/vcl/source/control/spinfld.cxx b/main/vcl/source/control/spinfld.cxx index 25336bba7cd..a9808c2fedf 100644 --- a/main/vcl/source/control/spinfld.cxx +++ b/main/vcl/source/control/spinfld.cxx @@ -1041,7 +1041,7 @@ void SpinField::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, pDev->SetMapMode(); if ( eOutDevType == OUTDEV_PRINTER ) - { + { StyleSettings aStyleSettings = aOldSettings.GetStyleSettings(); aStyleSettings.SetFaceColor( COL_LIGHTGRAY ); aStyleSettings.SetButtonTextColor( COL_BLACK );