Fix failures from pre-commit run --all, and add to github checks

This commit is contained in:
Dan Frankowski 2023-10-26 12:20:02 -05:00
commit 627ce10052
20 changed files with 21 additions and 22 deletions

View file

@ -6,4 +6,3 @@ This is a test hidden page
This is great for things like error(404) pages
Anyone can see this page but it's not linked to anywhere!

View file

@ -45,7 +45,7 @@ Testing more sourcecode directives
:lineseparator: <br>
:linespans: foo
:nobackground:
def run(self):
self.assert_has_content()
try:
@ -76,8 +76,8 @@ Testing even more sourcecode directives
.. sourcecode:: python
:linenos: table
:nowrap:
formatter = self.options and VARIANTS[self.options.keys()[0]]
@ -90,8 +90,8 @@ Even if the default is line numbers, we can override it here
.. sourcecode:: python
:linenos: none
formatter = self.options and VARIANTS[self.options.keys()[0]]