Skip to content

Commit

Permalink
🚨 Ruff 0.7.0 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
je-cook committed Oct 21, 2024
1 parent 1703285 commit 0ef076f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
exclude: test_data

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.7.0
hooks:
- id: ruff
args: [--fix]
Expand Down
3 changes: 2 additions & 1 deletion tests/utilities/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import copy
import filecmp
import json
import string
from pathlib import Path
from unittest.mock import patch

Expand Down Expand Up @@ -64,7 +65,7 @@ def test_is_num():

class TestAsciiStr:
def test_asciistr(self):
alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
alphabet = string.ascii_letters
for i in range(52):
assert asciistr(i + 1) == alphabet[: i + 1]

Expand Down

0 comments on commit 0ef076f

Please sign in to comment.