CodeForPoznan / codeforpoznan.pl_v3

Other
8 stars 45 forks source link

[CFP-506] Add pr backend linter #507

Closed w1stler closed 1 year ago

w1stler commented 1 year ago

Story / Bug id:

507

Description:

Added PR linter for backend

Deelite34 commented 1 year ago

I had a look at this PR. PR itself is fine, however as I found out, the issue with github action linting failing lies within lint backend action in actions repository. It seems that the latest version of black is being used there, despite 22.12.0 version being intended to be used, in result causing this problem. To fix this inconsistency and use 22.12.0 properly, set version parameter in actions repo, then I think new release needs to be created there, and used in here in this github action file. I've tested and got linting action to pass on a fork. source

    - uses: psf/black@22.12.0
      with:
        version: "22.12.0"
        src: backend