# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1665411221 -7200 # Mon Oct 10 16:13:41 2022 +0200 # Node ID a7d923940593d747c9796baf5df275e24b371f34 # Parent 21c524aaa2d0681e0dfc7eb71660597d76859ba8 🚑 fix incorrect black warning diff --git a/NEWS.rst b/NEWS.rst --- a/NEWS.rst +++ b/NEWS.rst @@ -5,7 +5,7 @@ 16.8.2 ------ -Fix incorrect prettier warning. +Fix incorrect prettier and black warning. 16.8.1 ------ diff --git a/odoo_scripts/docker_black.py b/odoo_scripts/docker_black.py --- a/odoo_scripts/docker_black.py +++ b/odoo_scripts/docker_black.py @@ -60,7 +60,7 @@ return black(getattr(nmspc, _BLACK_DEST), nmspc.write, get_build_options(nmspc)) -def black(directory: str, write: bool, build_options, pull: bool = True): +def black(directory: str, write: bool, build_options): """Run black""" config = Config() @@ -99,7 +99,7 @@ "working_dir": path, "tty": True, }, - pull, + False, )