We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 178d479 commit ac24b4aCopy full SHA for ac24b4a
.github/workflows/linting.yml
@@ -0,0 +1,34 @@
1
+## Code Linting
2
+
3
+name: Code Linting
4
5
+on:
6
+ pull_request:
7
+ branches: [main]
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v5
17
+ with:
18
+ python-version: '3.12'
19
+ cache: 'pip'
20
21
+ - name: Install Linting Dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install ruff --no-deps
25
26
+ - name: Show Files To Be Linted
27
+ run: ruff check --show-files
28
29
+ - name: Ruff Statistics
30
+ run: ruff check --statistics
31
+ continue-on-error: true
32
33
+ - name: Ruff Check Grouped Format
34
+ run: ruff check --output-format=grouped
0 commit comments