Have you read the Contributing Guidelines on issues?
Description
Hatch scripts have a placeholder for additional arguments. For example, if wanting to run only a subset of all tests, it should be possible to do:
Hatch supports this by looking for {arg} or {arg:<default>} in the script's string.
While this was included in the lint rules, it was unfortunately omitted from the test rules.
Completion of this requires:
Has this been requested on Canny?
No response
Motivation
This issue was identified in #395 (comment).
Have you tried building it?
No response
Self-service
Have you read the Contributing Guidelines on issues?
Description
Hatch scripts have a placeholder for additional arguments. For example, if wanting to run only a subset of all tests, it should be possible to do:
hatch run test tests/v3Hatch supports this by looking for
{arg}or{arg:<default>}in the script's string.While this was included in the lint rules, it was unfortunately omitted from the test rules.
Completion of this requires:
testscript in the default environmenttestscript in the test environment matrixHas this been requested on Canny?
No response
Motivation
This issue was identified in #395 (comment).
Have you tried building it?
No response
Self-service