Skip to content

Commit

Permalink
Pyre Configurationless migration for] [batch:88/244] (#723)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebookincubator/zstrong#723

Reviewed By: grievejia

Differential Revision: D54471437

fbshipit-source-id: bc644553e31464ceb632034e4ce3f05ba30fbbcd
  • Loading branch information
connernilsen authored and facebook-github-bot committed Mar 5, 2024
1 parent d75aa4c commit 45b24a1
Show file tree
Hide file tree
Showing 57 changed files with 114 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 glob
import json
import os
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/buildopts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 errno
import glob
import ntpath
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


class ArtifactCache(object):
"""The ArtifactCache is a small abstraction that allows caching
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/cargo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 os
import re
import shutil
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/copytree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 os
import shutil
import subprocess
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/dyndeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 errno
import glob
import os
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/envfuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 os
import shlex
import sys
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


class TransientFailure(Exception):
"""Raising this error causes getdeps to return with an error code
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
import shlex

Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 errno
import hashlib
import os
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 base64
import copy
import hashlib
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 configparser
import io
import os
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 os

import platform
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/py_wheel_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 codecs
import collections
import email
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/runcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 os
import select
import subprocess
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/subcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


class SubCmd(object):
NAME = None
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/test/expr_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 unittest

Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/test/manifest_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
import unittest
Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/test/platform_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 unittest

Expand Down
2 changes: 2 additions & 0 deletions build/fbcode_builder/getdeps/test/scratch_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 unittest

Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/breeze.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 click
from fastcli.click import inject_fastcli
from openr.cli.clis import (
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/baseGroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 click


Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 click
from bunch import Bunch
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/decision.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


from typing import Any, List, Optional, Sequence

Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 click
from openr.cli.clis.baseGroup import deduceCommandGroup
from openr.cli.commands import dispatcher
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/fib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 sys
from typing import List
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/kvstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


from typing import AbstractSet, Any, List, Optional, Set

Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

from typing import List

import bunch
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 click
from openr.cli.clis.baseGroup import deduceCommandGroup
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 click
from openr.cli.commands import perf
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/prefix_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


from typing import List, Optional

Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/spark.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 click
from openr.cli.clis.baseGroup import deduceCommandGroup
from openr.cli.commands import spark
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/clis/tech_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 click
from openr.cli.commands.tech_support import TechSupportCmd
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 json
from typing import Optional, Tuple, Union

Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/decision.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ipaddress
import sys
from collections import defaultdict
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


from typing import Mapping, Sequence

Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/fib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 datetime
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/kvstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 datetime
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 sys
from string import ascii_letters
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 json
import time
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/openr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

from openr.cli.commands import decision, fib, kvstore, lm, prefix_mgr, spark
from openr.cli.utils import utils
from openr.cli.utils.commands import OpenrCtrlCmd
Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


from builtins import range

Expand Down
2 changes: 2 additions & 0 deletions openr/py/openr/cli/commands/prefix_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

from typing import Dict, List, Optional, Sequence, Tuple

from openr.cli.utils import utils
Expand Down
Loading

0 comments on commit 45b24a1

Please sign in to comment.