mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
[pre-commit.ci] pre-commit autoupdate (#1153)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
25bcff10b7
commit
34dfe2d80b
@@ -28,7 +28,7 @@ repos:
|
|||||||
- --skip=B101,B201
|
- --skip=B101,B201
|
||||||
|
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 22.12.0
|
rev: 23.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ from pyodide.http import open_url
|
|||||||
|
|
||||||
|
|
||||||
class Antigravity:
|
class Antigravity:
|
||||||
|
|
||||||
url = "./antigravity.svg"
|
url = "./antigravity.svg"
|
||||||
|
|
||||||
def __init__(self, target=None, interval=10, append=True, fly=False):
|
def __init__(self, target=None, interval=10, append=True, fly=False):
|
||||||
|
|||||||
@@ -119,7 +119,6 @@ def micrograd_demo(*args, **kwargs):
|
|||||||
# cell
|
# cell
|
||||||
# optimization
|
# optimization
|
||||||
for k in range(20): # was 100
|
for k in range(20): # was 100
|
||||||
|
|
||||||
# forward
|
# forward
|
||||||
total_loss, _ = loss()
|
total_loss, _ = loss()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user