]> git.apps.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>
Mon, 12 Dec 2022 17:44:47 +0000 (12: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)

src/pybind/mgr/tox.ini

index 04084be8cab30347574ccd1c7e74af7a3ab56df7..f24d1968a6210bd7437189f9af8d4cb40d1ed8e9 100644 (file)
@@ -30,20 +30,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]
@@ -129,19 +129,19 @@ basepython = python3
 deps =
     autopep8
 modules =
-    alerts
-    balancer
-    cephadm
-    cli_api
-    crash
-    devicehealth
-    diskprediction_local
-    insights
-    iostat
-    nfs
-    orchestrator
-    prometheus
-    status
+    alerts \
+    balancer \
+    cephadm \
+    cli_api \
+    crash \
+    devicehealth \
+    diskprediction_local \
+    insights \
+    iostat \
+    nfs \
+    orchestrator \
+    prometheus \
+    status \
     telemetry
 commands =
     python --version