forked from pgadmin-org/pgadmin4
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (27 loc) · 876 Bytes
/
check-python-style.yml
File metadata and controls
37 lines (27 loc) · 876 Bytes
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
35
36
37
name: Check Python style
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
check-python-style:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Python dependencies
run: |
sudo pip install --upgrade pip
sudo pip install pycodestyle
- name: Check the documentation
run: pycodestyle --config=.pycodestyle docs/
- name: Check the packaging
run: pycodestyle --config=.pycodestyle pkg/
- name: Check the application
run: pycodestyle --config=.pycodestyle web/
- name: Check the tools
run: pycodestyle --config=.pycodestyle tools/