Repository navigation
v0.3.0
Moving to 0.3.0
This version adds a tests group of two rules, and they are deny by default:
functions-in-imported-module(#4): reports an import of a file that calls__functions_in_module().mojo-run-per-test(#5): reports a pixi task, CI step or script that runsmojo runon more than 3 test files.
A project whose tests run with mojo run per file will now fail its customs job. In the change that moves the pin, either build the tests once, or set the rule to warn in pixi.toml:
[tool.customs.lints]
# Why it stays as it is.
mojo-run-per-test = "warn"Also new: the [tool.customs] configuration (levels allow/warn/deny per rule or group, and mojo-run-per-test-threshold), the -A/-W/-D NAME flags, and the rule's name at the end of each finding. Without a configuration, the import rules behave as in 0.2.1. See the README.
What's Changed
- The tests group: functions-in-imported-module and mojo-run-per-test, [tool.customs] configuration, 0.3.0 by @winding-lines in #6
Full Changelog: v0.2.1...v0.3.0