mirror of
https://github.com/python/cpython.git
synced 2025-09-13 12:17:24 +00:00
gh-132390: Apply Ruff linting to Tools/build
(#132391)
--------- Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
parent
246ed23456
commit
5d8e432d9f
16 changed files with 109 additions and 99 deletions
|
@ -1,12 +1,11 @@
|
|||
"""Generate 10,000 unique examples for the Levenshtein short-circuit tests."""
|
||||
|
||||
import argparse
|
||||
from functools import lru_cache
|
||||
import json
|
||||
import os.path
|
||||
from functools import lru_cache
|
||||
from random import choices, randrange
|
||||
|
||||
|
||||
# This should be in sync with Lib/traceback.py. It's not importing those values
|
||||
# because this script is being executed by PYTHON_FOR_REGEN and not by the in-tree
|
||||
# build of Python.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue