1. 14 Apr, 2021 1 commit
    • Jeremy Reizenstein's avatar
      linter to survive flake8 crash · 42016bc0
      Jeremy Reizenstein authored
      Summary: Internally flake8 sometimes crashes. Stop the rest of the linter being bypassed when this happens.
      
      Reviewed By: theschnitz
      
      Differential Revision: D27765255
      
      fbshipit-source-id: 7ad1fb4630a05f4bc3763cf13370f5e4e00228de
      42016bc0
  2. 30 Mar, 2020 1 commit
    • Jeremy Reizenstein's avatar
      fix recent lint · 27eb791e
      Jeremy Reizenstein authored
      Summary: Flowing of compositing comments
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D20556707
      
      fbshipit-source-id: 4abdc85e4f65abd41c4a890b6895bc5e95b4576b
      27eb791e
  3. 29 Mar, 2020 1 commit
    • Patrick Labatut's avatar
      Enable black + isort fbsource linter · eb512ffd
      Patrick Labatut authored
      Summary:
      Enable `black` + `isort` (via `pyfmt`) i.e. `BLACK` fbsource linter.
      
      NOTE: the `BLACK` fbsource linter (and `black` itself) is (by design) ***not*** configurable. This forces aligning the existing options used by the tools invoked in `dev/linter.sh` (for 3rd party developers) with `BLACK` fbsource linting. Without this reconciliation, the different linters (used internally or by 3rd party developers) would simply conflict with each other resulting in artificial back-and-forth changes (for instance line width which `BLACK` forces to 88 characters).
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D20558374
      
      fbshipit-source-id: 614fa00664f8eb9d2de7438c29b807dfbf36ad20
      eb512ffd
  4. 21 Feb, 2020 1 commit
    • Jeremy Reizenstein's avatar
      lint things · e491efb8
      Jeremy Reizenstein authored
      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
      e491efb8
  5. 23 Jan, 2020 1 commit