Commit Graph

5 Commits

Author SHA1 Message Date
Shen Li
1022443168 Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default
Test Plan: revert-hammer

Differential Revision:
D30279364 (b004307252)

Original commit changeset: c1ed77dfe43a

fbshipit-source-id: eab50857675c51e0088391af06ec0ecb14e2347e
2021-08-12 11:45:01 -07:00
Zsolt Dollenstein
b004307252 [codemod][lint][fbcode/c*] Enable BLACK by default
Test Plan: manual inspection & sandcastle

Reviewed By: zertosh

Differential Revision: D30279364

fbshipit-source-id: c1ed77dfe43a3bde358f92737cd5535ae5d13c9a
2021-08-12 10:58:35 -07:00
Richard Barnes
e606e60331 [Needs Review] Convert some files to Python3 (#49351)
Summary:
Uses the Python standard library 2to3 script to convert a number of Python 2 files to Python 3. This facilitates code maintenance such as dropping unused imports in D25500422.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/49351

Test Plan: Standard sandcastle tests

Reviewed By: xush6528

Differential Revision: D25499576

fbshipit-source-id: 0c44718ac734771ce0758b1cb30676cc3d76ac10
2021-01-06 10:48:16 -08:00
Tim Hatch
7fcfed19e7 Fix interpreter lines for files with python2-only syntax.
Reviewed By: lisroach

Differential Revision: D15362271

fbshipit-source-id: 48fab12ab6e55a8537b19b4623d2545ca9950ec5
2019-07-09 10:51:43 -07:00
Orion Reblitz-Richardson
9e2001683e Move doc generation code into docs/caffe2. (#2435) 2018-03-26 21:07:40 -07:00