File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ruff review
2+ on : [pull_request]
3+ jobs :
4+ build :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v4
8+ - name : Install Python
9+ uses : actions/setup-python@v5
10+ with :
11+ python-version : " 3.11"
12+ - name : Install dependencies
13+ run : |
14+ python -m pip install --upgrade pip
15+ pip install ruff
16+ # Update output format to enable automatic inline annotations.
17+ - name : Run Ruff
18+ run : ruff check --config .ruff.toml --exclude "test/functional/test-framework/**/*.py" --exclude "doc/*" --exclude "doc/*" --output-format=github .
Original file line number Diff line number Diff line change 1+ line-length = 100
2+
3+ [lint ]
4+ ignore = [
5+ " E402" , # All module level imports should be at the top of the file. This means that there
6+ # should be no statements in between module level imports
7+ ]
You can’t perform that action at this time.
0 commit comments