From: Sebastian Wagner Date: Thu, 27 Aug 2020 08:20:34 +0000 (+0200) Subject: mgr/cephadm: disable autopep8 for test_{spec,scheduling}.py X-Git-Tag: v15.2.9~122^2~117^2~17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=45b13ab298507cec47e8f36e510742a081d47d99;p=ceph.git mgr/cephadm: disable autopep8 for test_{spec,scheduling}.py The signal to noise ratio is just too bad. Signed-off-by: Sebastian Wagner (cherry picked from commit d30d5e4746483880ca3b3306150255c0739224a8) --- diff --git a/src/pybind/mgr/cephadm/tests/test_scheduling.py b/src/pybind/mgr/cephadm/tests/test_scheduling.py index 76807f8fccad..ac5ad9226661 100644 --- a/src/pybind/mgr/cephadm/tests/test_scheduling.py +++ b/src/pybind/mgr/cephadm/tests/test_scheduling.py @@ -1,3 +1,7 @@ +# Disable autopep8 for this file: + +# fmt: off + from typing import NamedTuple, List import pytest @@ -315,7 +319,7 @@ def test_scheduler_daemons(host_key, hosts, ) -## ========================= +# ========================= class NodeAssignmentTest(NamedTuple): diff --git a/src/pybind/mgr/cephadm/tests/test_spec.py b/src/pybind/mgr/cephadm/tests/test_spec.py index 2fa190a814fb..eb02f95e086b 100644 --- a/src/pybind/mgr/cephadm/tests/test_spec.py +++ b/src/pybind/mgr/cephadm/tests/test_spec.py @@ -1,3 +1,7 @@ +# Disable autopep8 for this file: + +# fmt: off + import json import pytest