Skip to content

Commit

Permalink
Pyre Configurationless migration for] [batch:13/244]
Browse files Browse the repository at this point in the history
Reviewed By: connernilsen

Differential Revision: D54470890

fbshipit-source-id: 1778b533643b6f0ac94af1ef1801707ca97fefa6
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Mar 4, 2024
1 parent 4c6ebca commit 6216b83
Show file tree
Hide file tree
Showing 149 changed files with 298 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eden/fs/cli/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

SHUTDOWN_EXIT_CODE_NORMAL = 0
SHUTDOWN_EXIT_CODE_REQUESTED_SHUTDOWN = 0
SHUTDOWN_EXIT_CODE_NOT_RUNNING_ERROR = 2
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/debug_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import argparse
from pathlib import Path

Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/check_filesystems.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import hashlib
import json
import os
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/check_kerberos.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import subprocess

from eden.fs.cli.config import EdenInstance
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/check_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import platform
import re
import subprocess
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/check_recent_writes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

from typing import Dict

from eden.fs.cli.config import EdenInstance
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/check_redirections.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict


from eden.fs.cli import mtab
from eden.fs.cli.config import EdenCheckout, EdenInstance
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/check_stale_mounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import errno
import logging
import os
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import abc
from enum import IntEnum
from typing import List, Optional, Set
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/test/doctor_unix_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import sys
from typing import Optional
from unittest.mock import MagicMock, patch
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/test/hang_mount_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict


from typing import List, Tuple

Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/test/lib/fake_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict


FAKE_UID = 1234
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/test/lib/fake_hang_mount_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import multiprocessing
import os
import random
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/test/lib/fake_kerberos_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

from eden.fs.cli.config import EdenInstance
from eden.fs.cli.doctor.check_kerberos import KerberosChecker
from eden.fs.cli.doctor.problem import ProblemTracker
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/test/lib/fake_vscode_extensions_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

from typing import List

try:
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/test/lib/problem_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

from typing import List

from eden.fs.cli.config import AbstractEdenInstance
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/test/lib/testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import binascii
import unittest
from typing import Tuple
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/doctor/test/os_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import typing

from eden.fs.cli.config import EdenInstance
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/hostname.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import re
import socket

Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import contextlib
import errno
import logging
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/prefetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import argparse
import os
import sys
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/prjfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import ctypes
import enum
import sys
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/proc_utils_win.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import ctypes
import datetime
import sys
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/rage.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import csv
import getpass
import io
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict


import asyncio
import selectors
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import argparse

from . import cmd_util, subcmd as subcmd_mod
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/trace_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

from __future__ import absolute_import, division, print_function, unicode_literals

import argparse
Expand Down
2 changes: 2 additions & 0 deletions eden/fs/cli/win_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

from . import ui


Expand Down
2 changes: 2 additions & 0 deletions eden/fs/py/test/dirstate_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-strict

import io
import unittest

Expand Down
2 changes: 2 additions & 0 deletions eden/integration/basic_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import errno
import json
import os
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/casing_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import os

from .lib import testcase
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/chown_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import os

from .lib import repobase, testcase
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/clone_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import json
import os
import subprocess
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import time
from pathlib import Path

Expand Down
2 changes: 2 additions & 0 deletions eden/integration/corrupt_overlay_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import logging
import os
import pathlib
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/debug_getpath_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import os
import stat
import time
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/debug_subscribe_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import asyncio
import json
import platform
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/debug_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import binascii
import os
import sys
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/doteden_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import errno
import os
import stat
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/edenclient_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import pathlib

from .lib import testcase
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/fsck/basic_snapshot_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import abc
import binascii
import re
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/fsck_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import pathlib
import subprocess
from pathlib import Path
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/glob_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import logging
import time
from typing import List, Optional, Tuple
Expand Down
2 changes: 2 additions & 0 deletions eden/integration/health_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

# pyre-unsafe

import os
import signal
import sys
Expand Down
Loading

0 comments on commit 6216b83

Please sign in to comment.