Skip to content

Commit

Permalink
Convert directory fbcode/mcrouter to use the Ruff Formatter
Browse files Browse the repository at this point in the history
Summary:
Converts the directory specified to use the Ruff formatter in pyfmt

ruff_dog

If this diff causes merge conflicts when rebasing, please run
`hg status -n -0 --change . -I '**/*.{py,pyi}' | xargs -0 arc pyfmt`
on your diff, and amend any changes before rebasing onto latest.
That should help reduce or eliminate any merge conflicts.

allow-large-files

Reviewed By: amyreese

Differential Revision: D66373367

fbshipit-source-id: 6de22f98cb0557ab07d11c5cd8c8e40dc3df524c
  • Loading branch information
Thomas Polasek authored and facebook-github-bot committed Nov 23, 2024
1 parent ecbddd5 commit b1149ab
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion mcrouter/test/MCProcess.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,6 @@ def parse_parts(s, pattern):


def sub_port(s, substitute_ports, port_map):

parts = parse_parts(s, IPV6_SERVER_PAT) or parse_parts(s, SERVER_PAT)
if parts:
try:
Expand Down
1 change: 0 additions & 1 deletion mcrouter/test/test_axonlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def setUp(self):


class TestAxonProxyFailedDelete(TestAxonLogBase):

def setUp(self):
self.mc1 = self.add_server(DeadServer(5000))
self.mr = self.add_mcrouter(self.config, extra_args=self.extra_args)
Expand Down
1 change: 0 additions & 1 deletion mcrouter/test/test_mcpiper.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def do_get_test(self, mcrouter, raw, special_symbol):
self.assertTrue(mcpiper.contains("get key_hit"))

def do_set_test(self, mcrouter, raw, special_symbol):

mcpiper = self.get_mcpiper(mcrouter, raw)

self.assertTrue(mcrouter.set("key", "value2"))
Expand Down
1 change: 0 additions & 1 deletion mcrouter/test/test_mcrouter_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,6 @@ def test_l1_l2_gat_ncache(self):


class TestMcrouterBasicL1MultipleL2SizeSplit(McrouterTestCase):

config_multil2 = "./mcrouter/test/test_basic_l1_multiple_l2_sizesplit.json"
extra_args = []
MC_MSG_FLAG_SIZE_SPLIT = 0x20
Expand Down

0 comments on commit b1149ab

Please sign in to comment.