Skip to content
Snippets Groups Projects
Commit f861a992 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: flake8 and isort are not run by default when using docker_dev_start

parent 38bcf474
No related branches found
No related tags found
1 merge request!31📝 flake8 and isort are not run by default when using docker_dev_start
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
History History
======= =======
7.0.6
-----
flake8 and isort are not run by default when running docker_dev_start.
7.0.5 7.0.5
----- -----
......
...@@ -156,5 +156,13 @@ ...@@ -156,5 +156,13 @@
help="Start a Postgresql docker", help="Start a Postgresql docker",
action="store_true", action="store_true",
) )
parser.add_argument( flake8_group = parser.add_mutually_exclusive_group()
flake8_group.add_argument(
"--flake8",
help="Run flake8",
action="store_true",
dest="flake8",
default=False,
)
flake8_group.add_argument(
"--no-flake8", "--no-flake8",
...@@ -160,4 +168,4 @@ ...@@ -160,4 +168,4 @@
"--no-flake8", "--no-flake8",
help="Do not run flake8", help="Do not run flake8 [default]",
action="store_false", action="store_false",
dest="flake8", dest="flake8",
...@@ -162,3 +170,4 @@ ...@@ -162,3 +170,4 @@
action="store_false", action="store_false",
dest="flake8", dest="flake8",
default=False,
) )
...@@ -164,3 +173,11 @@ ...@@ -164,3 +173,11 @@
) )
parser.add_argument( isort_group = parser.add_mutually_exclusive_group()
isort_group.add_argument(
"--isort",
help="Run isort",
action="store_true",
dest="isort",
default=False,
)
isort_group.add_argument(
"--no-isort", "--no-isort",
...@@ -166,4 +183,4 @@ ...@@ -166,4 +183,4 @@
"--no-isort", "--no-isort",
help="Do not run isort", help="Do not run isort [default]",
action="store_false", action="store_false",
dest="isort", dest="isort",
...@@ -168,5 +185,6 @@ ...@@ -168,5 +185,6 @@
action="store_false", action="store_false",
dest="isort", dest="isort",
default=False,
) )
parser.add_argument( parser.add_argument(
"--odoo-help", "--odoo-help",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment