Dagger
Search

black

No long description provided.

Installation

dagger install github.com/tsirysndr/daggerverse/black@e8c05ab7c6e047100d9daf400c27cac9682a8e48

Entrypoint

Return Type
Black
Example
dagger -m github.com/tsirysndr/daggerverse/black@e8c05ab7c6e047100d9daf400c27cac9682a8e48 call \
func (m *myModule) example() *Black  {
	return dag.
			Black()
}
@function
def example() -> dag.Black:
	return (
		dag.black()
	)
@func()
example(): Black {
	return dag
		.black()
}

Types

Black 🔗

format() 🔗

Format Python code with black.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
pathStringKind -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/black@e8c05ab7c6e047100d9daf400c27cac9682a8e48 call \
 format
func (m *myModule) example(src )   {
	return dag.
			Black().
			Format(src)
}
@function
def example(src: ) -> :
	return (
		dag.black()
		.format(src)
	)
@func()
example(src: ):  {
	return dag
		.black()
		.format(src)
}

dev() 🔗

Returns a container with black installed.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/black@e8c05ab7c6e047100d9daf400c27cac9682a8e48 call \
 dev
func (m *myModule) example()   {
	return dag.
			Black().
			Dev()
}
@function
def example() -> :
	return (
		dag.black()
		.dev()
	)
@func()
example():  {
	return dag
		.black()
		.dev()
}