Skip to content

Commit 68fe9e6

Browse files
authored
Filter all code over pyupgrade --py38-plus and ruff (#235)
* filter all code over `pyupgrade --py38-plus` Signed-off-by: Tomasz Kłoczko <[email protected]> * filter all code over ruff Signed-off-by: Tomasz Kłoczko <[email protected]> --------- Signed-off-by: Tomasz Kłoczko <[email protected]>
1 parent c05f361 commit 68fe9e6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
#
32
# Configuration file for the Sphinx documentation builder.
43
#

tests/test_urls.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import sphinx
44
import shutil
55
import subprocess
6-
import warnings
76

87
from utils import _get_css_html_link_tag, _get_js_html_link_tag
98

@@ -328,7 +327,7 @@ def test_image_looks_like_absolute_url(app, status, warning):
328327
def test_image_absolute_url(app, status, warning):
329328
app.build()
330329
path = app.outdir / '404.html'
331-
assert path.exists() == True
330+
assert path.exists() is True
332331
content = open(path).read()
333332

334333
chunks = [

0 commit comments

Comments
 (0)