Skip to content

Commit

Permalink
Don't depend on flake8 at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Mar 14, 2023
1 parent b5a471c commit a90cfc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions python/helpers/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pip>=21.3.1,<23.1.0 # Range maintains py36 support TODO: Review python 3.6 support in April 2023 (eol ubuntu 18.04)
flake8==5.0.4
1 change: 0 additions & 1 deletion python/helpers/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pip>=21.3.1,<23.1.0 # Range maintains py36 support TODO: Review python 3.6 support in April 2023 (eol ubuntu 18.04)
pip-tools>=6.4.0,<=6.12.3 # Range maintains py36 support TODO: Review python 3.6 support in April 2023 (eol ubuntu 18.04)
flake8==5.0.4
hashin==0.17.0
pipenv==2022.4.8
pipfile==0.0.2
Expand Down
4 changes: 3 additions & 1 deletion python/script/ci-test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

bundle install
pyenv exec pip --disable-pip-version-check install --use-pep517 -r "requirements-dev.txt"
pyenv exec flake8 helpers/. --count --exclude=./.*,./python/spec/fixtures --show-source --statistics

bundle install
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec

0 comments on commit a90cfc2

Please sign in to comment.