diff --git a/.github/workflows/macos-linux-pip.yml b/.github/workflows/macos-linux-pip.yml index f372a76953cde41b5a2c6bc11cdf9e2ab990ce20..e755d8bd1b13da578c50754248f76174a8ea0a43 100644 --- a/.github/workflows/macos-linux-pip.yml +++ b/.github/workflows/macos-linux-pip.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - os: ["ubuntu-latest", "macos-latest"] + os: ["ubuntu-latest"] # , "macos-latest"] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e2e9834af6fde384573b27f727e2d6db3206e1e8..f9b5d0259d0ed7228c44448e9f2130dffc38923b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ ci: autoupdate_branch: devel repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.8 + rev: v0.6.3 hooks: - id: ruff args: @@ -19,7 +19,7 @@ repos: - id: toml-sort-fix exclude: poetry.lock - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v18.1.6 + rev: v18.1.8 hooks: - id: clang-format args: diff --git a/python/test/sandbox/test.ipynb b/python/test/sandbox/test.ipynb index 9d9ff84a2cec557e1de8a40b558b2fa79a31b1a2..e9dfacb2086a7330684888a610c972c5c0925fc7 100644 --- a/python/test/sandbox/test.ipynb +++ b/python/test/sandbox/test.ipynb @@ -48,24 +48,19 @@ ], "source": [ "# importing classical numpy objects\n", - "from numpy import zeros, array, identity, dot\n", - "from numpy.linalg import norm\n", - "import numpy as np\n", - "\n", - "np.set_printoptions(formatter={\"float\": lambda x: \"{0:0.1f}\".format(x)})\n", - "\n", "# use array representation for binding eigen objects to python\n", - "import eigenpy\n", - "\n", - "\n", "# importing the bezier curve class\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "from numpy import array, dot, identity, zeros\n", + "from numpy.linalg import norm\n", + "\n", "from ndcurves import bezier\n", "\n", "# importing tools to plot bezier curves\n", "from ndcurves.plot import plotBezier\n", - "from mpl_toolkits.mplot3d import Axes3D\n", - "import matplotlib.pyplot as plt\n", - "import numpy as np\n", + "\n", + "np.set_printoptions(formatter={\"float\": lambda x: f\"{x:0.1f}\"})\n", "\n", "# We describe a degree 3 curve as a Bezier curve with 4 control points\n", "waypoints = array(\n",