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 0e4effd commit 01c8d2dCopy full SHA for 01c8d2d
.github/workflows/lint.yml
@@ -0,0 +1,19 @@
1
+name: Lint
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+jobs:
10
+ Lint:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-python@v4
15
+ with:
16
+ python-version: "3.12"
17
+ - uses: pre-commit/[email protected]
18
+ env:
19
+ RUFF_OUTPUT_FORMAT: github
.pre-commit-config.yaml
@@ -0,0 +1,8 @@
+repos:
+ - repo: https://github.com/astral-sh/ruff-pre-commit
+ rev: v0.1.14
+ hooks:
+ - id: ruff
+ args:
+ - --fix
+ # - id: ruff-format # TODO: enable when the time is right
0 commit comments