Skip to content

Commit 50cd524

Browse files
authored
Update black to stable version and reformat (#1697)
1 parent 8b68a44 commit 50cd524

File tree

2 files changed

+4
-4
lines changed
  • .github/workflows
  • source/docs/software/advanced-controls/state-space

2 files changed

+4
-4
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,6 @@ jobs:
107107
- uses: actions/setup-python@v2
108108
with:
109109
python-version: 3.7
110-
- uses: psf/black@20.8b1
110+
- uses: psf/black@22.1.0
111111
with:
112-
args: ". --check"
112+
black_args: ". --check"

source/docs/software/advanced-controls/state-space/graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def lqr(*args, **kwargs):
6060
x1 = np.array([[0]])
6161
x2 = np.array([[0]])
6262

63-
K1 = lqr(sysd, np.array([[1.0 / (1.0 ** 2)]]), np.array([[1.0 / (12.0 ** 2)]]))
64-
K2 = lqr(sysd, np.array([[1.0 / (0.1 ** 2)]]), np.array([[1.0 / (12.0 ** 2)]]))
63+
K1 = lqr(sysd, np.array([[1.0 / (1.0**2)]]), np.array([[1.0 / (12.0**2)]]))
64+
K2 = lqr(sysd, np.array([[1.0 / (0.1**2)]]), np.array([[1.0 / (12.0**2)]]))
6565

6666
t1 = []
6767
x1data = []

0 commit comments

Comments
 (0)