marimo lint
for best practices.
#4332
dmadisetti
started this conversation in
General
Replies: 1 comment 1 reply
-
for sure ! happy to help and dogfood anything as well ! @dmadisetti |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a running list of
lint
ideas in no particular order, an id is only provided to facilitate discussion. Feel free to chime if you have ideas (thanks @bossjones for sharing your rules):import
only cellsimport-only
cells are handled in such a way that new imports do not rerun the entire notebook@app.function
,@app.class_definition
)__setattr__
,__setitem__
, and__i*__
on an object should be avoidedRelevant issue: #1543
Some goals:
If there is synergy between a python best-practice, and a marimo best-practice, then prefer changing marimo to better align with the python practice.
Some previous examples of this are
__
to_
, such that linters recognized the cell function do not require a name;Linter hints should not be stylistically paternalistic, but have a clear performance or clarity improvement specific to marimo
Under this criteria
Beta Was this translation helpful? Give feedback.
All reactions