Skip to content

Commit

Permalink
migrate xplat/ to ruff
Browse files Browse the repository at this point in the history
Summary:
Formats the covered files with pyfmt.

ruff_dog

Reviewed By: d16r

Differential Revision: D65988249

fbshipit-source-id: 0f7744962428982d0343cc76a7520b4f54e9676a
  • Loading branch information
amyreese authored and facebook-github-bot committed Nov 22, 2024
1 parent b58e27a commit 6076857
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion tools/node-hermes/nodelib/AddWrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def main():
args = parser.parse_args()

with io.open(args.files[0], "w", encoding="utf-8") as o:

o.write("({")
for arg in args.files[1:]:
arg = path.abspath(arg)
Expand Down
1 change: 1 addition & 0 deletions tools/synth/trace_normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
However, it is typically better to submit the original, to keep the times in
case they're ever needed.
"""

import argparse
import json
import struct
Expand Down
2 changes: 1 addition & 1 deletion utils/summarize_sizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# -*- coding: utf-8 -*-

""" Executable section size analysis.
"""Executable section size analysis.
This script analyzes the size of an executable by section.
The 'measure' command may be given to print size metrics about a single executable,
Expand Down

0 comments on commit 6076857

Please sign in to comment.