]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr: fix tox autopep8 args
authorAdam King <adking@redhat.com>
Fri, 9 Dec 2022 16:25:01 +0000 (11:25 -0500)
committerAdam King <adking@redhat.com>
Sat, 10 Dec 2022 16:44:12 +0000 (11:44 -0500)
Similar to mypy, we now need a backslash to signal
a newline doesn't mean to start a new command

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 2ecd74cdac098b3b4cdd209c10ce00f050aa8a8a)

Conflicts:
src/pybind/mgr/tox.ini

src/pybind/mgr/tox.ini

index e0ed7d185d5153d485824d3b12a2e000c25acaab..d70927b0d6e4beee81e1688d935567f431e5b608 100644 (file)
@@ -28,20 +28,20 @@ ignore =
     E501,
     W503,
 exclude =
-    .tox,
-    .vagrant,
-    __pycache__,
-    *.pyc,
-    templates,
+    .tox \
+    .vagrant \
+    __pycache__ \
+    *.pyc \
+    templates \
     .eggs
 statistics = True
 
 [autopep8]
 addopts =
-    --max-line-length {[flake8]max-line-length}
-    --exclude "{[flake8]exclude}"
-    --in-place
-    --recursive
+    --max-line-length {[flake8]max-line-length} \
+    --exclude "{[flake8]exclude}" \
+    --in-place \
+    --recursive \
     --ignore-local-config
 
 [testenv]