Skip to content
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

Use black to format the codebase and fix docs #69

Merged
merged 1 commit into from
Apr 9, 2020
Merged

Conversation

sigmavirus24
Copy link
Collaborator

Enforce that black requires no changes in Travis as well. Furthermore,
re-enable our docs building and validation on Travis by fixing our
doctests.

For some reason, using the .. doctest:: directive and tracebacks in
Sphinx causes problems with pygments' pycon3 lexer and so we have to use
the less explicit doctest format in our plain-rST docs.

Enforce that black requires no changes in Travis as well. Furthermore,
re-enable our docs building and validation on Travis by fixing our
doctests.

For some reason, using the `.. doctest::` directive and tracebacks in
Sphinx causes problems with pygments' pycon3 lexer and so we have to use
the less explicit doctest format in our plain-rST docs.
@codecov-io
Copy link

Codecov Report

Merging #69 into master will not change coverage by %.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #69   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines          800       809    +9     
=========================================
+ Hits           800       809    +9     
Impacted Files Coverage Δ
src/rfc3986/__init__.py 100.00% <100.00%> (ø)
src/rfc3986/_mixin.py 100.00% <100.00%> (ø)
src/rfc3986/abnf_regexp.py 100.00% <100.00%> (ø)
src/rfc3986/api.py 100.00% <100.00%> (ø)
src/rfc3986/builder.py 100.00% <100.00%> (ø)
src/rfc3986/compat.py 100.00% <100.00%> (ø)
src/rfc3986/exceptions.py 100.00% <100.00%> (ø)
src/rfc3986/iri.py 100.00% <100.00%> (ø)
src/rfc3986/misc.py 100.00% <100.00%> (ø)
src/rfc3986/normalizers.py 100.00% <100.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ca99c9...d817d4b. Read the comment docs.

@sigmavirus24 sigmavirus24 merged commit 3657ec4 into master Apr 9, 2020
@sigmavirus24 sigmavirus24 deleted the use-black branch April 9, 2020 15:28
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.

None yet

2 participants