MichaelKim0407 / flake8-use-fstring

MIT License
51 stars 7 forks source link

build: support flake8 v4.x #11

Closed redeboer closed 2 years ago

redeboer commented 2 years ago

Closes #10

Tests succeed locally with flake8 v4.x. Check the Travis log to see whether it installs v4.x as well.

redeboer commented 2 years ago

Check the Travis log to see whether it installs v4.x as well.

Could also change the following https://github.com/MichaelKim0407/flake8-use-fstring/blob/720b31892bad9306b6aa5225244ce3c411a5cae7/.travis.yml#L12-L14

into

script:
  - flake8 ./
  - pip install flake8==3.*
  - pytest
  - pip install flake8==4.*
  - pytest --cov --cov-report term-missing:skip-covered