R343 Run every check a Python project configures in CI
Run every check that a Python project configures, its type check and tests among them, in CI on every change.
Reason
What runs before a push depends on what the author remembered to run; CI runs every check on every change whatever was run before (Art. III §1(2)). The type check and the tests, which the hooks leave out (rule 250), are caught only here.
Verification
The checks a project configures are the tools in its dependency groups with settings for them, and its test suite. A check that CI runs through the commit hooks, with pre-commit run --all-files for example, counts as run in CI. A gap that is already there when a repository enables this rule is broken only by a change that touches it, as below, so that unrelated changes are not in breach.
Violated when a change adds a Python project, adds a check to one, or changes the CI configuration, and after the change CI does not run, on every change, a check that a Python project in the repository configures.