Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and jcarpent committed Feb 21, 2024
1 parent b378580 commit c1da1da
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions bindings/python/proxsuite_nlp/casadi_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Copyright (C) 2022 LAAS-CNRS, INRIA
"""

import casadi
import proxsuite_nlp
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions bindings/python/proxsuite_nlp/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Copyright (C) 2022 LAAS-CNRS, INRIA
"""

import numpy as np


Expand Down
1 change: 1 addition & 0 deletions examples/circle.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Copyright (C) 2022 LAAS-CNRS, INRIA
"""

import numpy as np
import proxsuite_nlp
from proxsuite_nlp.residuals import ManifoldDifferenceToPoint
Expand Down
1 change: 1 addition & 0 deletions examples/cost_sum_barycenter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Copyright (C) 2022 LAAS-CNRS, INRIA
"""

import proxsuite_nlp
import numpy as np

Expand Down
1 change: 1 addition & 0 deletions examples/double_pendulum.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Author:
Wilson Jallet
"""

import proxsuite_nlp

import pinocchio as pin
Expand Down
1 change: 1 addition & 0 deletions examples/finite-diff.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Copyright (C) 2022 LAAS-CNRS, INRIA
"""

import numpy as np
import proxsuite_nlp

Expand Down
1 change: 1 addition & 0 deletions examples/function_subclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@file In this file, we show how to overload function objects from proxsuite_nlp.
"""

import proxsuite_nlp
import numpy as np
import casadi as cas
Expand Down
1 change: 1 addition & 0 deletions examples/l1_qp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Solve an L1-penalized QP using proxsuite_nlp.
"""

import proxsuite_nlp
import numpy as np
import cvxpy
Expand Down
1 change: 1 addition & 0 deletions examples/manifolds.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Copyright (C) 2022 LAAS-CNRS, INRIA
"""

from proxsuite_nlp import manifolds
import numpy as np
import pinocchio as pin
Expand Down
1 change: 1 addition & 0 deletions examples/qp.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
A simple QP with equality and inequality constraints.
"""

import numpy as np
import proxsuite_nlp
from proxsuite_nlp.residuals import LinearFunction
Expand Down
1 change: 1 addition & 0 deletions examples/talos_yoga.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
Alessandro Assirelli
"""

import pinocchio as pin
import pinocchio.casadi as cpin
import casadi
Expand Down
1 change: 1 addition & 0 deletions examples/ur_ik.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Inverse kinematics with box constraints.
"""

import proxsuite_nlp
from proxsuite_nlp import manifolds, costs, constraints
from proxsuite_nlp import C2Function
Expand Down
1 change: 1 addition & 0 deletions examples/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Copyright (C) 2022 LAAS-CNRS, INRIA
"""

# from crocoddyl source code
import numpy as np

Expand Down
1 change: 1 addition & 0 deletions tests/python/test_manifolds.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Copyright (C) 2022 LAAS-CNRS, INRIA
"""

import pytest
import numpy as np

Expand Down

0 comments on commit c1da1da

Please sign in to comment.