Skip to content

Commit ea4456c

Browse files
simuthus-fbmeta-codesync[bot]
authored andcommitted
Add pyre mode headers
Summary: Add pyre mode headers Reviewed By: yebolai, shri-khare Differential Revision: D86114830 fbshipit-source-id: 915afa343cf62c2d20bff90bc4bb0c5324579111
1 parent 5248fa6 commit ea4456c

File tree

7 files changed

+8
-0
lines changed

7 files changed

+8
-0
lines changed

fboss/util/sdkcastle/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Configuration data classes for sdkcastle based on thrift spec
55
#
66

7+
# pyre-unsafe
78

89
from dataclasses import dataclass
910
from typing import Dict, List, Optional

fboss/util/sdkcastle/config_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
#
77

8+
# pyre-unsafe
89

910
import json
1011
import logging

fboss/util/sdkcastle/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Constants defines for sdkcastle
66
#
77

8+
# pyre-unsafe
89

910
# List of ASICs for BRCM DNX platforms
1011
BRCM_DNX_ASICS = ["jericho3", "ramon3"]

fboss/util/sdkcastle/enums.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# Enums for sdkcastle configuration based on thrift spec
66
#
77

8+
# pyre-unsafe
9+
810
from enum import Enum
911

1012

fboss/util/sdkcastle/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Main invocation for sdkcastle testing tool
55
#
66

7+
# pyre-unsafe
78

89
import argparse
910
import logging

fboss/util/sdkcastle/test_executor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Test executor implementation to orchestrate the execution of different tests
66
#
77

8+
# pyre-unsafe
89

910
import concurrent.futures
1011
import subprocess

fboss/util/sdkcastle/test_runner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Test runner implementation for sdkcastle
66
#
77

8+
# pyre-unsafe
89

910
from abc import ABC, abstractmethod
1011
from typing import List, Tuple

0 commit comments

Comments
 (0)