We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e7475 commit 7359cddCopy full SHA for 7359cdd
.github/workflows/lint.yml
@@ -0,0 +1,26 @@
1
+name: Lints
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ paths-ignore:
7
+ - '**.rst'
8
9
+jobs:
10
+ ruff:
11
+ runs-on: ubuntu-22.04
12
13
+ steps:
14
+ - name: Checkout pygit2
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: '3.12'
21
22
+ - name: Install ruff
23
+ run: pip install ruff
24
25
+ - name: Check code style with ruff
26
+ run: ruff format --diff
0 commit comments