File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint and Format
2
+
3
+ on :
4
+ workflow_call :
5
+ workflow_dispatch :
6
+
7
+ jobs :
8
+ lint-and-format :
9
+ name : Run Linters and Formatters
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : checkout
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Set up Python
16
+ uses : actions/setup-python@v5
17
+ with :
18
+ python-version : " 3.11"
19
+
20
+ - name : Install dependencies
21
+ run : |
22
+ python -m pip install --upgrade pip
23
+ python -m pip install ".[dev]"
24
+
25
+ - name : Run ruff linter
26
+ run : |
27
+ ruff check src/radius_clustering tests --fix
28
+
29
+ - name : Run black formatter
30
+ run : |
31
+ black src/radius_clustering tests --check
32
+
Original file line number Diff line number Diff line change 23
23
sudo apt-get update
24
24
sudo apt-get install build-essential
25
25
pip install --upgrade pip
26
- pip install -e ".[doc]"
26
+ pip install ".[doc]"
27
27
pushd docs
28
28
make html
29
29
popd
You can’t perform that action at this time.
0 commit comments