mirror of
https://github.com/pyscript/pyscript.git
synced 2026-02-25 14:01:32 -05:00
Re ruff (#2292)
* Ruff fixes * Ruff fixes * from __future__ import annotations breaks MicroPython * noqa: FURB188 because there is no str.replacesuffix() in MicroPython * Add ruff to pre-commit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import numpy
|
||||
import matplotlib
|
||||
import numpy as np
|
||||
import matplotlib as mpl
|
||||
|
||||
# just do something with the packages
|
||||
print(len(dir(numpy)))
|
||||
print(len(dir(matplotlib)))
|
||||
print(len(dir(np)))
|
||||
print(len(dir(mpl)))
|
||||
|
||||
@@ -4,4 +4,4 @@ def runtime_version():
|
||||
return sys.version
|
||||
|
||||
|
||||
__export__ = ['runtime_version']
|
||||
__export__ = ["runtime_version"]
|
||||
|
||||
Reference in New Issue
Block a user