Merge branch 'main' into fix_developers_mode #9135
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We enforce coding standards locally via a pre-commit hook. | |
# | |
# By using the pre-commit github action, we can re-use all of that logic | |
# and have identical checks in Github Actions as we have locally. | |
# | |
# There is then no need to run e.g. the flake8 linter with a manually | |
# created github workflow. | |
# | |
# Any new linters/autoformatters should be configured in the file | |
# .pre-commit-config.json | |
# | |
# This was rewritten when we introduced the yaml rewriter for the /content/ | |
# directory. | |
name: linting and autoformatting | |
on: [push, pull_request] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pre-commit/[email protected] |