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

Fix issues with tox targets lint & docs #664

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Conversation

ajkavanagh
Copy link
Contributor

@ajkavanagh ajkavanagh commented Aug 22, 2023

  • lint target: this ignores the vendored in
    charmtools/diff_match_patch.py file which uses completely
    non-standard indenting (2 spaces). It also fixes various issues around
    bare exceptions, indendation and equality tests on types.

  • docs target: this fixes the custom
    /docs/_extensions/automembersummary.py extension to be able to use a
    more recent version of sphinx. This fixes a long-standing broken
    sphinx docs generation issue.

Description of change

Checklist

  • Are all your commits [logically] grouped and squashed appropriately?
  • Does this patch have code coverage?
  • Does your code pass make test?

* `lint` target: this ignores the vendored in
  `charmtools/diff_match_patch.py` file which uses completely
  non-standard indenting (2 spaces). It also fixes various issues around
  bare exceptions, indendation and equality tests on types.

* `docs` target: this fixes the custom
  /docs/_extensions/automembersummary.py extension to be able to use a
  more recent version of sphinx. This fixes a long-standing broken
  sphinx docs generation issue.
@javacruft javacruft merged commit b7128ec into master Aug 22, 2023
5 checks passed
@javacruft javacruft deleted the fix-py3-lint-docs-issues branch August 22, 2023 12:45
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.

2 participants