-
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) Β· 1021 Bytes
/
py-code-style.yml
File metadata and controls
44 lines (41 loc) Β· 1021 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
38
39
40
41
42
43
44
name: Py Code Style
on:
push:
branches:
- main
- develop
paths:
- 'agent_codemode/**/*.py'
- 'tests/**/*.py'
- 'pyproject.toml'
- 'setup.py'
- '.pre-commit-config.yaml'
- 'ruff.toml'
- '.ruff.toml'
- '.github/workflows/py-code-style.yml'
- '.github/workflows/reusable-python.yml'
pull_request:
branches:
- main
- develop
paths:
- 'agent_codemode/**/*.py'
- 'tests/**/*.py'
- 'pyproject.toml'
- 'setup.py'
- '.pre-commit-config.yaml'
- 'ruff.toml'
- '.ruff.toml'
- '.github/workflows/py-code-style.yml'
- '.github/workflows/reusable-python.yml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check-code-style:
uses: ./.github/workflows/reusable-python.yml
with:
python-version: '3.11'
extra-packages: pre-commit
run-pre-commit: true