LukasMoll
LukasMoll
I am going to make the python files more Pythonic and clean up the code. folders TODO: - [x] bindings - 32 files - [x] contrib - 18 files -...
**Tests all imports of python files inside client directory.** Prints out all failed imports Throws an error if one or more imports failed. (I can add assert) **Tests config and...
To enforce python best practices I propose a pre-commit pipeline with black and flake8. # Code-Reviewer Section The general pull request guidelines can be found [here](https://github.com/apple/foundationdb/wiki/FoundationDB-Commit-Process). Please check each of...
#8828 # Code-Reviewer Section The general pull request guidelines can be found [here](https://github.com/apple/foundationdb/wiki/FoundationDB-Commit-Process). Please check each of the following things and check *all* boxes before accepting a PR. - [...
Applying the newest Python features e.g. type hints.
We have code like this: `sys.path[:0] = [os.path.join(os.path.dirname(__file__), '..', '..', '..', 'tests', 'TestRunner')] `. [Best](https://stackoverflow.com/questions/1893598/pythonpath-vs-sys-path) [practice ](https://stackoverflow.com/questions/58614817/how-can-i-add-paths-to-the-pythonpath-or-path-variables-when-a-script-within-m)is to use something like setuptools in virtualenv.