Skip to content

Commit 1e8ba91

Browse files
committed
Fix lint
1 parent 52e0851 commit 1e8ba91

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# pylint: disable=too-many-lines
16+
1517
import unittest
1618
from timeit import default_timer
1719
from unittest.mock import patch
@@ -699,11 +701,11 @@ class TestHTTPAppWithCustomHeadersParameters(TestBase):
699701
def setUp(self):
700702
super().setUp()
701703
self.instrumentor = otel_fastapi.FastAPIInstrumentor()
702-
self.kwargs = dict(
703-
http_capture_headers_server_request=["a.*", "b.*"],
704-
http_capture_headers_server_response=["c.*", "d.*"],
705-
http_capture_headers_sanitize_fields=[".*secret.*"],
706-
)
704+
self.kwargs = {
705+
"http_capture_headers_server_request": ["a.*", "b.*"],
706+
"http_capture_headers_server_response": ["c.*", "d.*"],
707+
"http_capture_headers_sanitize_fields": [".*secret.*"],
708+
}
707709
self.app = None
708710

709711
def tearDown(self) -> None:

0 commit comments

Comments
 (0)