Dagger
Search

ruff/test

Package main provides test suites for the Ruff Dagger module.

Installation

dagger install github.com/softwaredevelop/daggerverse/ruff/test@efce5bec5854bf0560ae7ecb217436bbe766b817

Types

Rufftest 🔗

Rufftest provides test functions for the Ruff module.

all() 🔗

All runs all tests concurrently.

Return Type
Void !
Example
Function Rufftest.all is not accessible from the ruff/test module
Function Rufftest.all is not accessible from the ruff/test module
Function Rufftest.all is not accessible from the ruff/test module
Function Rufftest.all is not accessible from the ruff/test module

check() 🔗

Check tests that ruff check properly fails on invalid Python files.

Return Type
Void !
Example
Function Rufftest.check is not accessible from the ruff/test module
Function Rufftest.check is not accessible from the ruff/test module
Function Rufftest.check is not accessible from the ruff/test module
Function Rufftest.check is not accessible from the ruff/test module

checkWithConfig() 🔗

CheckWithConfig tests the backwards-compatible CheckWithConfig wrapper function.

Return Type
Void !
Example
Function Rufftest.checkWithConfig is not accessible from the ruff/test module
Function Rufftest.checkWithConfig is not accessible from the ruff/test module
Function Rufftest.checkWithConfig is not accessible from the ruff/test module
Function Rufftest.checkWithConfig is not accessible from the ruff/test module

checkWithOptionalConfig() 🔗

CheckWithOptionalConfig tests calling Check with the new optional config argument.

Return Type
Void !
Example
Function Rufftest.checkWithOptionalConfig is not accessible from the ruff/test module
Function Rufftest.checkWithOptionalConfig is not accessible from the ruff/test module
Function Rufftest.checkWithOptionalConfig is not accessible from the ruff/test module
Function Rufftest.checkWithOptionalConfig is not accessible from the ruff/test module

formatCheck() 🔗

FormatCheck tests that ruff format –check detects unformatted code in testdata.

Return Type
Void !
Example
Function Rufftest.formatCheck is not accessible from the ruff/test module
Function Rufftest.formatCheck is not accessible from the ruff/test module
Function Rufftest.formatCheck is not accessible from the ruff/test module
Function Rufftest.formatCheck is not accessible from the ruff/test module