We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 731c147 commit c7a42e9Copy full SHA for c7a42e9
.github/workflows/linter.yaml
@@ -0,0 +1,26 @@
1
+name: TritonBench Linter
2
+on:
3
+ pull_request:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+
9
10
+jobs:
11
+ pylint:
12
+ permissions:
13
+ contents: read
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout
17
+ with:
18
+ path: tritonbench
19
+ - name: Check Formatting
20
+ uses: omnilib/ufmt@action-v1
21
22
23
24
+concurrency:
25
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
26
+ cancel-in-progress: true
pyproject.toml
@@ -0,0 +1,3 @@
+[tool.ufmt]
+formatter = "ruff-api"
+excludes = ["submodules/"]
0 commit comments