We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154f515 commit d523ef6Copy full SHA for d523ef6
.github/workflows/lint.yml
@@ -0,0 +1,22 @@
1
+name: Lint
2
+
3
+on: [push, pull_request, workflow_dispatch]
4
5
+permissions: {}
6
7
+env:
8
+ FORCE_COLOR: 1
9
+ RUFF_OUTPUT_FORMAT: github
10
11
+jobs:
12
+ lint:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ persist-credentials: false
19
+ - uses: actions/setup-python@v5
20
21
+ python-version: "3.x"
22
+ - uses: tox-dev/action-pre-commit-uv@v1
.pre-commit-config.yaml
@@ -0,0 +1,9 @@
+repos:
+ - repo: local
+ hooks:
+ - id: sort-ini
+ name: Sort config.ini
+ entry: python3 config/sort-ini.py config/config.ini
+ language: python
+ pass_filenames: false
+ files: ^config/config.ini$
0 commit comments