From d30d5e4746483880ca3b3306150255c0739224a8 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Thu, 27 Aug 2020 10:20:34 +0200 Subject: [PATCH] mgr/cephadm: disable autopep8 for test_{spec,scheduling}.py The signal to noise ratio is just too bad. Signed-off-by: Sebastian Wagner --- src/pybind/mgr/cephadm/tests/test_scheduling.py | 6 +++++- src/pybind/mgr/cephadm/tests/test_spec.py | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/tests/test_scheduling.py b/src/pybind/mgr/cephadm/tests/test_scheduling.py index 76807f8fccad7..ac5ad9226661d 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 2fa190a814fb9..eb02f95e086bb 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 -- 2.39.5