Skip to content

Commit d6f239d

Browse files
committed
pre-commit: Apply pre-commit
1 parent b63bae6 commit d6f239d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

python/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ include(${JRL_CMAKE_MODULES}/python-helpers.cmake)
1313
include("${JRL_CMAKE_MODULES}/stubs.cmake")
1414

1515
add_custom_target(${PROJECT_NAME}_python)
16-
set_target_properties(${PROJECT_NAME}_python PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD True)
16+
set_target_properties(${PROJECT_NAME}_python
17+
PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD True)
1718

1819
add_library(${PYWRAP} MODULE main.cpp)
1920
add_dependencies(${PROJECT_NAME}_python ${PYWRAP})

unittest/python/test_user_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ def test_cast(from_dtype, to_dtype):
6767

6868
v = user_type.CustomDouble(1)
6969
a = np.array(v)
70-
assert type(v) == a.dtype.type
70+
assert type(v) is a.dtype.type

0 commit comments

Comments
 (0)