-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation adjustments #5
Conversation
[tool.coverage.run] | ||
branch = true | ||
parallel = true | ||
|
||
[tool.coverage.report] | ||
fail_under = 100 | ||
show_missing = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may need to be amended. See also next comment
README.md
Outdated
[![License](https://img.shields.io/github/license/Qiskit/qiskit-addon-sqd?label=License)](LICENSE.txt) | ||
[![Downloads](https://img.shields.io/pypi/dm/qiskit-addon-sqd.svg?label=Downloads)](https://pypi.org/project/qiskit-addon-sqd/) | ||
[![Tests](https://github.com/Qiskit/qiskit-addon-sqd/actions/workflows/test_latest_versions.yml/badge.svg)](https://github.com/Qiskit/qiskit-addon-sqd/actions/workflows/test_latest_versions.yml) | ||
[![Coverage](https://coveralls.io/repos/github/Qiskit/qiskit-addon-sqd/badge.svg?branch=main)](https://coveralls.io/github/Qiskit/qiskit-addon-sqd?branch=main) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might need to hold off on this one until 0.4 when I have full set of tests + bug fixes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have removed this coverage shield for now until I get the source code tested to standards
qiskit-addon-utils
repopylint -rn qiskit_addon_sqd/ test/ | ||
nbqa pylint -rn docs/ | ||
pydocstyle qiskit_addon_sqd/ | ||
reno lint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead and removed typos
from the linter. It found one typo and one false positive. I fixed those, and it is now failing in CI and giving no indication why (I can't reproduce locally)
I feel fairly strongly that typos gets in the way more than it helps (Ive had trouble getting dictionaries to be read and trouble getting CI to tell me what happened with typos
). Unless you feel strongly about this, I may leave it out of the linter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It surprises me, that typos
caused this trouble. Here are some notes:
typos
appears to never have been declared as a dependency (smth I overlooked as well) which makes me wonder why trying to execute the command gave an exit code2
rather than127
, but could be the reason why it kept failing at the endtypos
does NOT use a dictionary by design. Instead, it keeps an internal list of common typos which it detects and marks. This cuts down a LOT on false positives compared to e.g. pylint's spell checker. See here for more details.
* Some fixes and alignments with the `qiskit-addon-utils` repo * style * Ignore slow notebooks, fix bad import * ruff * Add typos to externals and fix a typo * Fix typos * Remove typos * Remove typos * implement feedback * rename dice solver how-to * Fix references in tutorial 1 --------- Co-authored-by: Caleb Johnson <[email protected]> (cherry picked from commit b86b32c)
* Some fixes and alignments with the `qiskit-addon-utils` repo * style * Ignore slow notebooks, fix bad import * ruff * Add typos to externals and fix a typo * Fix typos * Remove typos * Remove typos * implement feedback * rename dice solver how-to * Fix references in tutorial 1 --------- Co-authored-by: Caleb Johnson <[email protected]> (cherry picked from commit b86b32c) Co-authored-by: Max Rossmannek <[email protected]>
This PR implements mostly documentation and CI adjustments which bring the package more in-line with other Qiskit addons.