Skip to content

Commit 83048eb

Browse files
committed
apply pre-commit
1 parent bdd210a commit 83048eb

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,4 @@ enable = ["cpython-freethreading", "pypy"]
185185
# in theory some tests require numpy / pandas as well. However those don't provider
186186
# wheels for all target platforms
187187
test-requires = ["pytest", "hypothesis"]
188-
test-command = "pytest {package}/tests"
188+
test-command = "pytest {package}/tests"

src/rapidfuzz/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ function(create_cython_target _name)
1515
VERBATIM
1616
COMMAND
1717
Python::Interpreter -m cython ${cython_linetrace_options}
18-
"${CMAKE_CURRENT_LIST_DIR}/${_name}.pyx" --cplus
19-
-I "${CMAKE_CURRENT_LIST_DIR}"
20-
--output-file "${CMAKE_CURRENT_BINARY_DIR}/${_name}.cxx")
18+
"${CMAKE_CURRENT_LIST_DIR}/${_name}.pyx" --cplus -I
19+
"${CMAKE_CURRENT_LIST_DIR}" --output-file
20+
"${CMAKE_CURRENT_BINARY_DIR}/${_name}.cxx")
2121

2222
set(${_name}
2323
${CMAKE_CURRENT_BINARY_DIR}/${_name}.cxx

src/rapidfuzz/distance/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ function(create_cython_target _name)
1515
VERBATIM
1616
COMMAND
1717
Python::Interpreter -m cython ${cython_linetrace_options}
18-
"${CMAKE_CURRENT_LIST_DIR}/${_name}.pyx" --cplus
19-
-I "${CMAKE_CURRENT_LIST_DIR}/.."
20-
--output-file "${CMAKE_CURRENT_BINARY_DIR}/${_name}.cxx")
18+
"${CMAKE_CURRENT_LIST_DIR}/${_name}.pyx" --cplus -I
19+
"${CMAKE_CURRENT_LIST_DIR}/.." --output-file
20+
"${CMAKE_CURRENT_BINARY_DIR}/${_name}.cxx")
2121

2222
set(${_name}
2323
${CMAKE_CURRENT_BINARY_DIR}/${_name}.cxx

tests/test_fuzz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def testWRatioUnicode():
174174

175175

176176
def test_issue452():
177-
assert pytest.approx(fuzz.WRatio("hello", "hello" + "abcde"*7)) == 90
177+
assert pytest.approx(fuzz.WRatio("hello", "hello" + "abcde" * 7)) == 90
178178

179179

180180
def testQRatioUnicode():

0 commit comments

Comments
 (0)