Skip to content

Commit

Permalink
feat: implement editable dataframe to manage dataframe editor component
Browse files Browse the repository at this point in the history
* feat: implement the backend component EditableDataframe
* feat: implement MutableValue
  • Loading branch information
FabienArcellier committed Jul 6, 2024
1 parent 93c457a commit 5be456f
Show file tree
Hide file tree
Showing 5 changed files with 567 additions and 9 deletions.
8 changes: 6 additions & 2 deletions alfred/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ def ci_mypy():
alfred.run("mypy ./src/writer --exclude app_templates/*")

@alfred.command("ci.ruff", help="linting with ruff")
def ci_ruff():
alfred.run("ruff check")
@alfred.option('--fix', '-f', help="fix linting errors", is_flag=True, default=False)
def ci_ruff(fix):
if fix:
alfred.run("ruff check --fix")
else:
alfred.run("ruff check")

@alfred.command("ci.pytest", help="run pytest on ./tests")
def ci_test():
Expand Down
1 change: 1 addition & 0 deletions src/writer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from writer.core import (
BytesWrapper,
Config,
EditableDataframe,
FileWrapper,
Readable,
State,
Expand Down
Loading

0 comments on commit 5be456f

Please sign in to comment.