FlamingPy is a cross-platform Python library with a variety of backends for efficient simulations of error correction in fault-tolerant quantum computers.
This issue has been tagged for a bounty during unitaryHACK.
Tasks
Include all Python files in this repository to be checked by docformatter
Include the doc directory in the scope of the black formatter.
Explanation
Currently, we only check some .py files, namely flamingpy/*/*.py, with docformatter whereas it makes sense to check all Python files, including test files and files like setup.py. This will improve the quality of the docstrings and the code in general, making it easier to use and develop.
For part 1 of the task, you effectively have to change python -m docformatter --in-place flamingpy/*/*.py to python -m docformatter --in-place **.py in the CI checks. For part 2, make sure this does not break doc workflows!
Submission
To work on this task, simply fork the repository. Please also comment in this thread to communicate that you are working on this issue. Once ready, you can open a PR that we will review and hopefully merge making you an official FlamingPy contributor 🔥 🥧
This issue has been tagged for a bounty during unitaryHACK.
Tasks
docformatter
doc
directory in the scope of theblack
formatter.Explanation
Currently, we only check some
.py
files, namelyflamingpy/*/*.py
, withdocformatter
whereas it makes sense to check all Python files, including test files and files likesetup.py
. This will improve the quality of the docstrings and the code in general, making it easier to use and develop.For part 1 of the task, you effectively have to change
python -m docformatter --in-place flamingpy/*/*.py
topython -m docformatter --in-place **.py
in the CI checks. For part 2, make sure this does not breakdoc
workflows!Submission
To work on this task, simply fork the repository. Please also comment in this thread to communicate that you are working on this issue. Once ready, you can open a PR that we will review and hopefully merge making you an official FlamingPy contributor 🔥 🥧
Good luck 🍀
- Joost