Skip to content

Commit f6399b2

Browse files
generatedunixname89002005307016meta-codesync[bot]
authored andcommitted
Remove Pyre mode headers in fbcode/fair_infra
Summary: Remove standalone `# pyre-strict` and `# pyre-unsafe` mode headers from Python files under `fbcode/fair_infra`. Pyrefly type-checks all files in one consistent mode, so these legacy per-file mode headers no longer have an effect. Other Pyre directives and generated files are left unchanged.Pyrefly is now the default type checker across FBCode so this diff introduces no functional changes. #pyreupgrade Differential Revision: D117255124 fbshipit-source-id: 00f7d45c89c88d9da0a25028ea05fda06b157404
1 parent 003c338 commit f6399b2

17 files changed

Lines changed: 0 additions & 19 deletions

iopath/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
22

3-
# pyre-strict
43

54
from iopath.common import file_lock, get_cache_dir, LazyPath, PathManager
65

iopath/common/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
22

3-
# pyre-strict
43

54
from iopath.common.file_io import file_lock, get_cache_dir, LazyPath, PathManager
65

iopath/common/azure_blob.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
# pyre-strict
7-
86

97
import base64
108
import io

iopath/common/download.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
22

3-
# pyre-strict
43

54
import logging
65
import os

iopath/common/event_logger.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
22

3-
# pyre-strict
43

54
from typing import Dict, Optional, TypeVar
65

iopath/common/file_io.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
22

3-
# pyre-strict
43

54
import base64
65
import concurrent.futures

iopath/common/non_blocking_io.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
22

3-
# pyre-strict
43

54
import concurrent.futures
65
import io

iopath/common/s3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
22

3-
# pyre-strict
43

54
import datetime as dt
65
import io

iopath/tabular/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
2-
3-
# pyre-strict

iopath/tabular/tabular_io.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
22

3-
# pyre-strict
43

54
from typing import Any
65

0 commit comments

Comments
 (0)