1. 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
  2. 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
  3. 22 Sep, 2020 1 commit
  4. 27 Aug, 2020 1 commit
  5. 24 Aug, 2020 1 commit
  6. 07 Aug, 2020 1 commit
  7. 06 Jan, 2020 2 commits
  8. 05 Jan, 2020 1 commit
  9. 23 Dec, 2019 1 commit
  10. 22 Dec, 2019 3 commits
  11. 21 Dec, 2019 1 commit