File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Linters
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+ jobs :
7+ ruff-check :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ - name : Install Python
12+ uses : actions/setup-python@v5
13+ with :
14+ python-version : " 3.13"
15+ - name : Install dependencies
16+ run : |
17+ python -m pip install --upgrade pip
18+ pip install ruff
19+ # Update output format to enable automatic inline annotations.
20+ - name : Run Ruff
21+ run : ruff check --output-format=github .
Original file line number Diff line number Diff line change 1- name : CI
2-
1+ name : Tests
32on :
43 pull_request :
54 branches :
65 - main
7-
86jobs :
97 unit-tests :
108
2725 - name : Unit tests
2826 run : |
2927 python3 -m unittest -v
30- - name : PEP8
31- run : |
32- python3 -m pip install flake8
33- flake8 --max-line-length 120
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Requirements
1313- Python >= 3.8
1414- requests
1515
16+ This project uses `Ruff <https://docs.astral.sh/ruff/ >`_ for linting and formatting.
17+
1618Installation
1719------------
1820
You can’t perform that action at this time.
0 commit comments