2022-03-02 03:19:33 +00:00
|
|
|
# https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage
|
2022-11-06 16:34:59 +00:00
|
|
|
# see also what we use locally, requirements.d/codestyle.txt - should be the same version here.
|
2022-03-02 03:19:33 +00:00
|
|
|
|
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
2023-08-26 12:40:53 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2022-03-02 03:19:33 +00:00
|
|
|
steps:
|
2024-04-03 15:47:56 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-02-01 15:01:54 +00:00
|
|
|
- uses: psf/black@stable
|
|
|
|
with:
|
|
|
|
version: "~= 23.0"
|