# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1599040837 -7200 # Wed Sep 02 12:00:37 2020 +0200 # Node ID 40b53081d745b3387b64c5444f1b9f5bbeac2dfc # Parent dde0e7d311c3af5083a6606f8426734626832263 🚑 fix issue with flake8 call not using setup.cfg preferences diff --git a/NEWS.rst b/NEWS.rst --- a/NEWS.rst +++ b/NEWS.rst @@ -11,6 +11,8 @@ Fix issue with pg.extensions key in config file. +Fix issue with flake8 call not using :file:`setup.cfg` preferences; it was called from another directory. + 4.0 --- diff --git a/odoo_scripts/docker_dev_start.py b/odoo_scripts/docker_dev_start.py --- a/odoo_scripts/docker_dev_start.py +++ b/odoo_scripts/docker_dev_start.py @@ -72,9 +72,11 @@ "run", "--rm", "--volume", - "{}:/mnt".format(os.environ["PWD"]), + "{}:/mnt:ro".format(os.environ["PWD"]), + "--workdir", + "/mnt", image, - "/mnt", + ".", ] )