1. 09 Oct, 2023 1 commit
  2. 08 Aug, 2023 1 commit
  3. 19 Dec, 2022 1 commit
    • moto's avatar
      Split extract_archive into dedicated functions. (#2927) · 5807078c
      moto authored
      Summary:
      `extra_archive` in `datasets.utils` does not distinguish the input type, and blindly treats it as tar, then zip in case of failure.
      
      This is an anti-pattern. All the dataset implementations know which archive type the downloaded files are.
      
      This commit splits extract_archive function into dedicated functions, and make each dataset use the correct one.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2927
      
      Reviewed By: carolineechen
      
      Differential Revision: D42154069
      
      Pulled By: mthrok
      
      fbshipit-source-id: bc46cc2af26aa086ef49aa1f9a94b6dedb55f85e
      5807078c
  4. 22 Sep, 2022 1 commit
  5. 15 Sep, 2022 1 commit
  6. 15 May, 2022 1 commit
    • John Reese's avatar
      [codemod][usort] apply import merging for fbcode (8 of 11) · d62875cc
      John Reese authored
      Summary:
      Applies new import merging and sorting from µsort v1.0.
      
      When merging imports, µsort will make a best-effort to move associated
      comments to match merged elements, but there are known limitations due to
      the diynamic nature of Python and developer tooling. These changes should
      not produce any dangerous runtime changes, but may require touch-ups to
      satisfy linters and other tooling.
      
      Note that µsort uses case-insensitive, lexicographical sorting, which
      results in a different ordering compared to isort. This provides a more
      consistent sorting order, matching the case-insensitive order used when
      sorting import statements by module name, and ensures that "frog", "FROG",
      and "Frog" always sort next to each other.
      
      For details on µsort's sorting and merging semantics, see the user guide:
      https://usort.readthedocs.io/en/stable/guide.html#sorting
      
      Reviewed By: lisroach
      
      Differential Revision: D36402214
      
      fbshipit-source-id: b641bfa9d46242188524d4ae2c44998922a62b4c
      d62875cc
  7. 10 May, 2022 1 commit
  8. 23 Dec, 2021 1 commit
  9. 22 Dec, 2021 1 commit
  10. 18 Oct, 2021 1 commit
  11. 06 Oct, 2021 1 commit