-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Tweaks to doctest syntax/style in Tutorial #3759
Conversation
Also use an f-string to avoid extra line.
Also using f-strings
Codecov Report
@@ Coverage Diff @@
## master #3759 +/- ##
==========================================
- Coverage 83.82% 82.13% -1.70%
==========================================
Files 317 298 -19
Lines 52985 49961 -3024
==========================================
- Hits 44415 41035 -3380
- Misses 8570 8926 +356
Continue to review full report at Codecov.
|
* Avoid invalid syntax in examples * Using more f-strings for consiseness * Fix missing ... in doctest syntax * Tweak doctest examples for black style * Fix strange LaTeX indentation, and test example This is intended allow the use of blacken-docs v1.11.0 which includes support for \begin{minted}{pycon}, added specifically for the Biopython documentation.
* Avoid invalid syntax in examples * Using more f-strings for consiseness * Fix missing ... in doctest syntax * Tweak doctest examples for black style * Fix strange LaTeX indentation, and test example This is intended allow the use of blacken-docs v1.11.0 which includes support for \begin{minted}{pycon}, added specifically for the Biopython documentation.
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.
I have read the
CONTRIBUTING.rst
file, have runpre-commit
locally,and understand that AppVeyor and TravisCI will be used to confirm the Biopython unit
tests and style checks pass with these changes.
I have added my name to the alphabetical contributors listings in the files
NEWS.rst
andCONTRIB.rst
as part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)
This is intended allow the use of blacken-docs v1.11.0 which included adamchainz/blacken-docs#112 from me to support
\begin{minted}{pycon}
specifically for the Biopython documentation.These commits either address syntax issues blocking automated use of blacken-docs as seen in #3758 (and adamchainz/blacken-docs#121), or tweak the examples to work better after black formatting.