black.yaml 376 B

123456789101112131415
  1. # https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage
  2. # see also what we use locally, requirements.d/codestyle.txt - should be the same version here.
  3. name: Lint
  4. on: [push, pull_request]
  5. jobs:
  6. lint:
  7. runs-on: ubuntu-22.04
  8. steps:
  9. - uses: actions/checkout@v4
  10. - uses: psf/black@stable
  11. with:
  12. version: "~= 24.0"