Skip to content

Conversation

@dodo920306
Copy link
Contributor

Previously, there is a mismatch between practical python version and tox usage. While Cello now uses Python 3.8 actually, tox.ini still expect python 3.5 to be used. This actually causes all flake8 checks have been skipped since the python version was bumped. Leaving all the code unchecked.

This commit aims to reactivate the flake8 checks for CI jobs by bump the version of python expected by tox.

Previously, there is a mismatch between practical python version and tox usage. While Cello now
uses Python 3.8 actually, **`tox.ini` still expect python 3.5 to be used**. This actually causes **all
flake8 checks have been skipped** since the python version was bumped. Leaving all the code
unchecked.

This commit aims to reactivate the flake8 checks for CI jobs by bump the version of python
expected by tox.

Signed-off-by: dodo920306 <[email protected]>
@dodo920306 dodo920306 marked this pull request as draft June 29, 2025 05:12
@dodo920306 dodo920306 marked this pull request as ready for review June 29, 2025 06:26
@dodo920306
Copy link
Contributor Author

Please notice that this PR simpifies the commit function of the chaincode view aggressively so that it can be seen as simple enough by flake8.

Such changes require tests to check if the functionality isn't broken.

@yeasy yeasy merged commit 826f089 into hyperledger-cello:main Jul 8, 2025
3 checks passed
@dodo920306 dodo920306 deleted the fix/inactive-flake8-checks branch July 12, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants