Skip to content

Commit

Permalink
apply python formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Jan 26, 2024
1 parent b510ef8 commit 2945a96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.16)
project(tinyobjloader CXX)
set(TINYOBJLOADER_SOVERSION 2)
set(TINYOBJLOADER_VERSION 2.0.0-rc.12)
set(TINYOBJLOADER_VERSION 2.0.0-rc.13)
set(PY_TARGET "pytinyobjloader")

#optional double precision support
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ cibuildwheels + twine upload for each git tagging event is handled in Github Act

#### How to bump version(For developer)

* Apply `black` to python files(`python/sample.py`)
* Bump version in CMakeLists.txt
* Commit and push `release`. Confirm C.I. build is OK.
* Create tag starting with `v`(e.g. `v2.1.0`)
Expand Down
2 changes: 1 addition & 1 deletion python/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
print(" vertex_id = ", skin.vertex_id)
print(" len(weights) = ", len(skin.weightValues))
for k, w in enumerate(skin.weightValues):
print(" [{}] joint_id: {}, weight: {}".format(k, w.joint_id, w.weight))
print(" [{}] joint_id: {}, weight: {}".format(k, w.joint_id, w.weight))

if is_numpy_available:
print("numpy_v = {}".format(attrib.numpy_vertices()))
Expand Down

0 comments on commit 2945a96

Please sign in to comment.