ruff
No long description provided.
Installation
dagger install github.com/kpenfound/dagger-modules/ruff@v0.0.1
Entrypoint
Return Type
Ruff
Example
dagger -m github.com/kpenfound/dagger-modules/ruff@053eeb803f87005cf04ae3ad6cc4bde6031b4d35 call \
func (m *myModule) example() *Ruff {
return dag.
Ruff()
}
@function
def example() -> dag.Ruff:
return (
dag.ruff()
)
@func()
example(): Ruff {
return dag
.ruff()
}
Types
Ruff 🔗
check() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directory | Directory ! | - | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/ruff@053eeb803f87005cf04ae3ad6cc4bde6031b4d35 call \
check --directory DIR_PATH
func (m *myModule) example(ctx context.Context, directory *Directory) string {
return dag.
Ruff().
Check(ctx, directory)
}
@function
async def example(directory: dagger.Directory) -> str:
return await (
dag.ruff()
.check(directory)
)
@func()
async example(directory: Directory): Promise<string> {
return dag
.ruff()
.check(directory)
}