From f2ea08cab04a3718c544a766cda0a01e84444fd5 Mon Sep 17 00:00:00 2001 From: Eric Arellano Date: Mon, 24 May 2021 09:52:25 -0700 Subject: [PATCH] Fix Flake8 not liking stub files --- src/python/pants/engine/internals/native_engine_pyo3.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/python/pants/engine/internals/native_engine_pyo3.pyi b/src/python/pants/engine/internals/native_engine_pyo3.pyi index bfa68c8c796..e72b546f578 100644 --- a/src/python/pants/engine/internals/native_engine_pyo3.pyi +++ b/src/python/pants/engine/internals/native_engine_pyo3.pyi @@ -1,6 +1,10 @@ # Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). +# TODO: black and flake8 disagree about the content of this file: +# see https://github.com/psf/black/issues/1548 +# flake8: noqa: E302 + class PyExecutor: def __init__(self, core_threads: int, max_threads: int) -> None: ...