Skip to content

Commit

Permalink
Convert directory fbcode/deeplearning to use the Ruff Formatter
Browse files Browse the repository at this point in the history
Summary:
X-link: pytorch/FBGEMM#3242

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
bypass-github-export-checks

Differential Revision: D63766623
  • Loading branch information
Thomas Polasek authored and facebook-github-bot committed Oct 11, 2024
1 parent 473ee74 commit 5989278
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion flashlight/app/objdet/scripts/eval_coco.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def main(directory, coco_data):
files = glob.glob(glob_path)
assert len(files) > 0
for f in files:

image_sizes = af.read_array(f, key="imageSizes").to_ndarray()
image_sizes = np.transpose(image_sizes, (1, 0))
image_ids = af.read_array(f, key="imageIds").to_ndarray()
Expand Down

0 comments on commit 5989278

Please sign in to comment.