File tree Expand file tree Collapse file tree 2 files changed +56
-1
lines changed
Expand file tree Collapse file tree 2 files changed +56
-1
lines changed Original file line number Diff line number Diff line change 6868
6969 - name : Verify type hints
7070 run : |
71- pdm run mypy
71+ pdm run mypy
72+
73+ isort :
74+ name : isort
75+ runs-on : ubuntu-latest
76+ steps :
77+ - name : Checkout
78+ uses : actions/checkout@v4
79+ with :
80+ fetch-depth : 0
81+
82+ - name : Set up Python 3.13
83+ uses : actions/setup-python@v4
84+ with :
85+ python-version : " 3.13"
86+
87+ - name : Install PDM
88+ run : |
89+ python -m pip install --upgrade pip
90+ pip install pdm
91+
92+ - name : Install dependencies
93+ run : |
94+ pdm install -G:all
95+
96+ - name : Check import formatting
97+ run : |
98+ pdm run isort --check --verbose
99+
100+ black :
101+ name : black
102+ runs-on : ubuntu-latest
103+ steps :
104+ - name : Checkout
105+ uses : actions/checkout@v4
106+ with :
107+ fetch-depth : 0
108+
109+ - name : Set up Python 3.13
110+ uses : actions/setup-python@v4
111+ with :
112+ python-version : " 3.13"
113+
114+ - name : Install PDM
115+ run : |
116+ python -m pip install --upgrade pip
117+ pip install pdm
118+
119+ - name : Install dependencies
120+ run : |
121+ pdm install -G:all
122+
123+ - name : Check code style
124+ run : |
125+ pdm run black --check --verbose
Original file line number Diff line number Diff line change 66[ ![ codecov] ( https://codecov.io/gh/jpstroop/fitbit-client-python/graph/badge.svg?token=DM0JD8VKZ4 )] ( https://codecov.io/gh/jpstroop/fitbit-client-python )
77[ ![ Checked with mypy] ( https://www.mypy-lang.org/static/mypy_badge.svg )] ( https://mypy-lang.org/ )
88[ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
9+ [ ![ Imports: isort] ( https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336 )] ( https://pycqa.github.io/isort/ )
910[ ![ Python 3.13+] ( https://img.shields.io/badge/python-3.13+-blue.svg )] ( https://www.python.org/downloads/release/python-3130/ )
1011[ ![ License: AGPL v3] ( https://img.shields.io/badge/License-AGPL%20v3-blue.svg )] ( https://www.gnu.org/licenses/agpl-3.0 )
1112
You can’t perform that action at this time.
0 commit comments