1. 07 Nov, 2020 1 commit
  2. 29 Oct, 2020 1 commit
    • Sylvain Gugger's avatar
      Add a template for examples and apply it for mlm and plm examples (#8153) · 69117628
      Sylvain Gugger authored
      * Add a template for example scripts and apply it to mlm
      
      * Formatting
      
      * Fix test
      
      * Add plm script
      
      * Add a template for example scripts and apply it to mlm
      
      * Formatting
      
      * Fix test
      
      * Add plm script
      
      * Add a template for example scripts and apply it to mlm
      
      * Formatting
      
      * Fix test
      
      * Add plm script
      
      * Styling
      69117628
  3. 27 Oct, 2020 1 commit
  4. 26 Oct, 2020 1 commit
    • Sylvain Gugger's avatar
      Doc styling (#8067) · 08f534d2
      Sylvain Gugger authored
      * Important files
      
      * Styling them all
      
      * Revert "Styling them all"
      
      This reverts commit 7d029395fdae8513b8281cbc2a6c239f8093503e.
      
      * Syling them for realsies
      
      * Fix syntax error
      
      * Fix benchmark_utils
      
      * More fixes
      
      * Fix modeling auto and script
      
      * Remove new line
      
      * Fixes
      
      * More fixes
      
      * Fix more files
      
      * Style
      
      * Add FSMT
      
      * More fixes
      
      * More fixes
      
      * More fixes
      
      * More fixes
      
      * Fixes
      
      * More fixes
      
      * More fixes
      
      * Last fixes
      
      * Make sphinx happy
      08f534d2
  5. 06 Oct, 2020 1 commit
  6. 05 Oct, 2020 1 commit
  7. 28 Sep, 2020 1 commit
  8. 25 Sep, 2020 1 commit
    • Stas Bekman's avatar
      [code quality] new make target that combines style and quality targets (#7310) · 8859c4f8
      Stas Bekman authored
      * [code quality] merge style and quality targets
      
      Any reason why we don't run `flake8` in `make style`? I find myself needing to run `make style` and `make quality` all the time, but I need the latter just for the last 2 checks. Since we have no control over the source code why bother with separating checking and fixing - let's just have one target that fixes and then performs the remaining checks, as we know the first two have been done already.
      
      This PR suggests to merge the 2 targets into one efficient target.
      
      I will edit the docs if this change resonates with the team.
      
      * move checks into style, re-use target
      
      * better name
      
      * add fixup target
      
      * document new target
      8859c4f8
  9. 23 Sep, 2020 1 commit
    • Stas Bekman's avatar
      [code quality] fix confused flake8 (#7309) · df536438
      Stas Bekman authored
      * fix confused flake
      
      We run `black  --target-version py35 ...` but flake8 doesn't know that, so currently with py38 flake8 fails suggesting that black should have reformatted 63 files. Indeed if I run:
      
      ```
      black --line-length 119 --target-version py38 examples templates tests src utils
      ```
      it indeed reformats 63 files.
      
      The only solution I found is to create a black config file as explained at https://github.com/psf/black#configuration-format, which is what this PR adds.
      
      Now flake8 knows that py35 is the standard and no longer gets confused regardless of the user's python version.
      
      * adjust the other files that will now rely on black's config file
      df536438
  10. 22 Sep, 2020 1 commit
  11. 27 Aug, 2020 1 commit
  12. 24 Aug, 2020 1 commit
  13. 07 Aug, 2020 1 commit
  14. 06 Jan, 2020 2 commits
  15. 05 Jan, 2020 1 commit
  16. 23 Dec, 2019 1 commit
  17. 22 Dec, 2019 3 commits
  18. 21 Dec, 2019 1 commit