We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44e9299 commit edffda7Copy full SHA for edffda7
.github/workflows/ruff.yml
@@ -0,0 +1,19 @@
1
+name: CI
2
+on: [push, pull_request]
3
+jobs:
4
+ check-ruff:
5
+ runs-on: ubuntu-latest
6
+ continue-on-error: true
7
+ steps:
8
+ - uses: actions/checkout@v4
9
+ - name: Install Python
10
+ uses: actions/setup-python@v5
11
+ with:
12
+ python-version: "3.11"
13
+ - name: Install dependencies
14
+ run: |
15
+ python -m pip install --upgrade pip
16
+ pip install ruff
17
+ # Update output format to enable automatic inline annotations.
18
+ - name: Run Ruff
19
+ run: ruff check --output-format=github .
ruff.toml
@@ -0,0 +1,7 @@
+[lint]
+ignore = [
+ # Ignore module import not at top of file
+ "E402",
+ # Annoying style checks
+ "E7",
+]
0 commit comments