Skip to content

Commit

Permalink
pre-commit: fix isort config
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Aug 26, 2024
1 parent 8807c24 commit fcea1a9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ repos:
rev: 5.13.2
hooks:
- id: isort
args:
- --profile
- black
- --project
- tsid
- --filter-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
hooks:
Expand Down
3 changes: 2 additions & 1 deletion exercizes/ex_4_walking.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
import matplotlib.pyplot as plt
import numpy as np
import plot_utils as plut
import tsid
from numpy import nan
from numpy.linalg import norm as norm
from tsid_biped import TsidBiped

import tsid

print("".center(conf.LINE_WIDTH, "#"))
print(" Test Walking ".center(conf.LINE_WIDTH, "#"))
print("".center(conf.LINE_WIDTH, "#"), "\n")
Expand Down
1 change: 1 addition & 0 deletions tests/python/test_Deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import warnings

import numpy as np

import tsid


Expand Down
3 changes: 2 additions & 1 deletion tests/python/test_Formulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

import numpy as np
import pinocchio as se3
import tsid
from numpy.linalg import norm

import tsid

print("")
print("Test InvDyn")
print("")
Expand Down
1 change: 1 addition & 0 deletions tests/python/test_RobotWrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import numpy as np
import pinocchio as se3

import tsid

print("")
Expand Down
1 change: 1 addition & 0 deletions tests/python/test_Solvers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import numpy as np

import tsid

print("")
Expand Down
1 change: 1 addition & 0 deletions tests/python/test_Trajectories.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import numpy as np
import pinocchio as se3

import tsid

print("")
Expand Down

0 comments on commit fcea1a9

Please sign in to comment.