Skip to content

Commit

Permalink
Fix Flake8 not liking stub files
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed May 24, 2021
1 parent 19b807c commit f2ea08c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/python/pants/engine/internals/native_engine_pyo3.pyi
Original file line number Diff line number Diff line change
@@ -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: ...

Expand Down

0 comments on commit f2ea08c

Please sign in to comment.