File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Ruff Linting
2+
3+ on :
4+ pull_request :
5+ types : [synchronize, opened, reopened]
6+ branches :
7+ - main
8+
9+ concurrency : # Cancel previous workflows on the same pull request
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ ruff-linting :
15+ name : Ruff Linting
16+ strategy :
17+ fail-fast : false
18+ steps :
19+ - uses : astral-sh/ruff-action@v3
Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ exclude = ["spikeinterface.*.tests"]
5050[tool .black ]
5151line-length = 120
5252
53+ [tool .ruff ]
54+ line-length = 120
55+ [tool .ruff .lint ]
56+ select = [' F401' ]
57+
5358[project .urls ]
5459homepage = " https://github.com/SpikeInterface/spikeinterface"
5560repository = " https://github.com/SpikeInterface/spikeinterface"
You can’t perform that action at this time.
0 commit comments