-
Notifications
You must be signed in to change notification settings - Fork 33
34 lines (33 loc) · 1.03 KB
/
code_style.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# NB! If this action fails with a rather cryptic message about:
# AttributeError: 'Binding' object has no attribute 'names'
# This is most likely due to the fact that modules were added
# that are not considered in (and one has to patch):
# .github/scripts/pre_pyflakes.sh
name: Python style
on:
pull_request:
types: [opened]
workflow_dispatch:
jobs:
qa:
name: Quality check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Change __all__ exports for pyflake
run: |
bash .github/scripts/pre_pyflakes.sh
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.8
- name: patch reviewdog
run: sudo chown -R root:root $GITHUB_WORKSPACE
- name: Wemake Python Styleguide
uses: wemake-services/[email protected]
continue-on-error: true
with:
reporter: 'github-pr-review'
env:
NUMBA_DISABLE_JIT: 1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}