Skip to content

Commit

Permalink
Merge pull request #1064 from sphinx-contrib/bump-ruff
Browse files Browse the repository at this point in the history
lint: update ruff to v0.8.1
  • Loading branch information
jdknight authored Dec 5, 2024
2 parents 662a26b + d14897d commit b480a2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/unit-tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ def test_util_normalize_baseurl(self):
'https://intranet-wiki.example.com/rest/api/': 'https://intranet-wiki.example.com/',
'http://example.atlassian.net/wiki': 'http://example.atlassian.net/wiki/',
}
for key in data:
self.assertEqual(ConfluenceUtil.normalize_base_url(key), data[key])
for key, val in data.items():
self.assertEqual(ConfluenceUtil.normalize_base_url(key), val)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ commands =
[testenv:ruff]
deps =
{[testenv]deps}
ruff: ruff==0.6.9
ruff: ruff==0.8.1
setenv =
{[testenv]setenv}
RUFF_CACHE_DIR={toxworkdir}/.ruff_cache
Expand Down

0 comments on commit b480a2b

Please sign in to comment.