lint things

Summary:
Lint related fixes: Improve internal/OSS consistency. Fix the fight between black and certain pyre-ignore markers by moving them to the line before.
Use clang-format-8 automatically if present. Small number of pyre fixes.

arc doesn't run pyre at the moment, so I put back the explicit call to pyre. I don't know if there's an option somewhere to change this.

Reviewed By: nikhilaravi

Differential Revision: D19780518

fbshipit-source-id: ef1c243392322fa074130f6cff2dd8a6f7738a7f
This commit is contained in:
Jeremy Reizenstein
2020-02-21 05:03:38 -08:00
committed by Facebook Github Bot
parent 9e21659fc5
commit e491efb81f
11 changed files with 66 additions and 52 deletions

View File

@@ -42,7 +42,7 @@ conda install jupyter
pip install scikit-image matplotlib imageio
# Tests/Linting
pip install black isort flake8
pip install black isort flake8 flake8-bugbear flake8-comprehensions
```
## Build/Install Pytorch3d
@@ -109,4 +109,4 @@ After installing, verify whether all unit tests have passed
```
cd tests
python3 -m unittest discover -p *.py
```
```