Skip to content

Commit

Permalink
Filter all code over pyupgrade --py38-plus and ruff (#235)
Browse files Browse the repository at this point in the history
* filter all code over `pyupgrade --py38-plus`

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>

* filter all code over ruff

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>

---------

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
  • Loading branch information
kloczek authored May 23, 2024
1 parent c05f361 commit 68fe9e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
Expand Down
3 changes: 1 addition & 2 deletions tests/test_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import sphinx
import shutil
import subprocess
import warnings

from utils import _get_css_html_link_tag, _get_js_html_link_tag

Expand Down Expand Up @@ -328,7 +327,7 @@ def test_image_looks_like_absolute_url(app, status, warning):
def test_image_absolute_url(app, status, warning):
app.build()
path = app.outdir / '404.html'
assert path.exists() == True
assert path.exists() is True
content = open(path).read()

chunks = [
Expand Down

0 comments on commit 68fe9e6

Please sign in to comment.