Skip to content

Commit

Permalink
fix: temporarily pin pycodestyle to 2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jpadilla committed Aug 1, 2023
1 parent 778f3e8 commit 5071850
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ build-client-python:
make build-client sdk_language=python tmpdir=${TMP_DIR} library="asyncio"
make run-in-docker sdk_language=python image=busybox:${BUSYBOX_DOCKER_TAG} command="/bin/sh -c 'patch -p1 /module/openfga_sdk/api/open_fga_api.py /config/clients/python/patches/open_fga_api.py.patch'"
make run-in-docker sdk_language=python image=busybox:${BUSYBOX_DOCKER_TAG} command="/bin/sh -c 'patch -p1 /module/docs/OpenFgaApi.md /config/clients/python/patches/OpenFgaApi.md.patch'"
make run-in-docker sdk_language=python image=python:${PYTHON_DOCKER_TAG} command="/bin/sh -c 'python -m pip install autopep8; autopep8 --in-place --ignore E402 --recursive openfga_sdk; autopep8 --in-place --recursive test'"
make run-in-docker sdk_language=python image=python:${PYTHON_DOCKER_TAG} command="/bin/sh -c 'python -m pip install pycodestyle==2.10.0 autopep8; autopep8 --in-place --ignore E402 --recursive openfga_sdk; autopep8 --in-place --recursive test'"
make run-in-docker sdk_language=python image=python:${PYTHON_DOCKER_TAG} command="/bin/sh -c 'pip install setuptools wheel && python setup.py sdist bdist_wheel'"

.PHONY: test-client-python
Expand Down
3 changes: 2 additions & 1 deletion config/clients/python/template/test-requirements.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pytest-cov>=2.8.1
mock>=4.0.3
aiohttp>=3.8.1
pycodestyle==2.10.0
flake8>=5.0.4
python-dateutil>=2.8.2
urllib3>=1.26.11
urllib3>=1.26.11

0 comments on commit 5071850

Please sign in to comment.