From 9059c0e1e5c8af3138ebefeeb66cb03086b70723 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005307016 Date: Fri, 17 Jan 2025 14:36:30 -0800 Subject: [PATCH] Add missing Pyre mode headers] [batch:19/1531] [shard:41/N] Differential Revision: D68319423 fbshipit-source-id: aca02063fb6092db7261d5264a6b34a4c60aa7da --- third-party/watchman/src/watchman/node/bser/test_bser.py | 2 ++ third-party/watchman/src/watchman/python/pywatchman/__init__.py | 2 ++ .../watchman/src/watchman/python/pywatchman/capabilities.py | 2 ++ third-party/watchman/src/watchman/python/pywatchman/encoding.py | 2 ++ third-party/watchman/src/watchman/python/pywatchman/load.py | 2 ++ third-party/watchman/src/watchman/python/pywatchman/pybser.py | 2 ++ third-party/watchman/src/watchman/python/pywatchman/windows.py | 2 ++ .../watchman/src/watchman/python/pywatchman_aio/__init__.py | 2 ++ third-party/watchman/src/watchman/python/tests/tests.py | 2 ++ 9 files changed, 18 insertions(+) diff --git a/third-party/watchman/src/watchman/node/bser/test_bser.py b/third-party/watchman/src/watchman/node/bser/test_bser.py index 756d0d84cb9e3b..34e316377a4331 100644 --- a/third-party/watchman/src/watchman/node/bser/test_bser.py +++ b/third-party/watchman/src/watchman/node/bser/test_bser.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import distutils.spawn import os import shutil diff --git a/third-party/watchman/src/watchman/python/pywatchman/__init__.py b/third-party/watchman/src/watchman/python/pywatchman/__init__.py index 6c57a2be0e1124..54580145c9ec42 100644 --- a/third-party/watchman/src/watchman/python/pywatchman/__init__.py +++ b/third-party/watchman/src/watchman/python/pywatchman/__init__.py @@ -3,6 +3,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import inspect import math diff --git a/third-party/watchman/src/watchman/python/pywatchman/capabilities.py b/third-party/watchman/src/watchman/python/pywatchman/capabilities.py index 3fbf8c291686dd..80a05e1c6ce25c 100644 --- a/third-party/watchman/src/watchman/python/pywatchman/capabilities.py +++ b/third-party/watchman/src/watchman/python/pywatchman/capabilities.py @@ -3,6 +3,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import re diff --git a/third-party/watchman/src/watchman/python/pywatchman/encoding.py b/third-party/watchman/src/watchman/python/pywatchman/encoding.py index 629929a1e10583..ee1d73653d62fa 100644 --- a/third-party/watchman/src/watchman/python/pywatchman/encoding.py +++ b/third-party/watchman/src/watchman/python/pywatchman/encoding.py @@ -3,6 +3,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import sys diff --git a/third-party/watchman/src/watchman/python/pywatchman/load.py b/third-party/watchman/src/watchman/python/pywatchman/load.py index babb8d4115f0f5..843dbcb8e9b65d 100644 --- a/third-party/watchman/src/watchman/python/pywatchman/load.py +++ b/third-party/watchman/src/watchman/python/pywatchman/load.py @@ -3,6 +3,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import ctypes diff --git a/third-party/watchman/src/watchman/python/pywatchman/pybser.py b/third-party/watchman/src/watchman/python/pywatchman/pybser.py index db3a95ecd82ee9..3122afc9a24b25 100644 --- a/third-party/watchman/src/watchman/python/pywatchman/pybser.py +++ b/third-party/watchman/src/watchman/python/pywatchman/pybser.py @@ -3,6 +3,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import binascii import collections.abc as collections_abc diff --git a/third-party/watchman/src/watchman/python/pywatchman/windows.py b/third-party/watchman/src/watchman/python/pywatchman/windows.py index 80e53d289e5ff8..49a0a5f6cae5ac 100644 --- a/third-party/watchman/src/watchman/python/pywatchman/windows.py +++ b/third-party/watchman/src/watchman/python/pywatchman/windows.py @@ -3,6 +3,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import ctypes import ctypes.wintypes diff --git a/third-party/watchman/src/watchman/python/pywatchman_aio/__init__.py b/third-party/watchman/src/watchman/python/pywatchman_aio/__init__.py index 592a7e3b968575..4e8d3e1ae6e9e9 100644 --- a/third-party/watchman/src/watchman/python/pywatchman_aio/__init__.py +++ b/third-party/watchman/src/watchman/python/pywatchman_aio/__init__.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import asyncio import os diff --git a/third-party/watchman/src/watchman/python/tests/tests.py b/third-party/watchman/src/watchman/python/tests/tests.py index 5b2c4410fcdf82..fa1f125cd12ca9 100755 --- a/third-party/watchman/src/watchman/python/tests/tests.py +++ b/third-party/watchman/src/watchman/python/tests/tests.py @@ -5,6 +5,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import binascii import collections