From 8e263f396aa50006ef0d24135ad2d717c00dec5b Mon Sep 17 00:00:00 2001 From: pdemp1729 Date: Sun, 15 Jan 2023 00:54:08 +0000 Subject: [PATCH] Tell isort to overwrite files in place - When running isort from within the docker container the ownership of affected files was changing to root. The solution is to use the overwrite_in_place config option, cf. https://github.com/pycqa/isort/issues/1644 --- config/.isort.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/config/.isort.cfg b/config/.isort.cfg index 28ee479..2ff0451 100644 --- a/config/.isort.cfg +++ b/config/.isort.cfg @@ -1,3 +1,4 @@ [settings] +overwrite_in_place=true py_version=39 profile=black