Skip to content

Commit 10337d0

Browse files
committed
cleaned up
2 parents ab1e3d4 + 0cbc020 commit 10337d0

File tree

3 files changed

+38
-30
lines changed

3 files changed

+38
-30
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
token: ${{ secrets.CODECOV_TOKEN }}
3939
file: ./coverage.xml
4040
fail_ci_if_error: true
41+
verbose: true
4142

4243
format:
4344
runs-on: ubuntu-latest
@@ -62,15 +63,15 @@ jobs:
6263
6364
- name: Check Black formatting
6465
run: |
65-
pdm run black --check .
66+
pdm run black --check
6667
6768
- name: Check isort
6869
run: |
69-
pdm run isort --check .
70+
pdm run isort --check
7071
7172
- name: Check unused imports with autoflake
7273
run: |
73-
pdm run autoflake . -r --remove-unused-variables --remove-all-unused-imports --ignore-pass-after-docstring --exclude ./.venv/*,./_scripts/* --check
74+
pdm run autoflake
7475
7576
type-check:
7677
runs-on: ubuntu-latest
@@ -120,30 +121,33 @@ jobs:
120121
121122
- name: Check markdown formatting
122123
run: |
123-
pdm run mdformat --check .
124+
echo "Markdown format checking temporarily disabled"
125+
exit 0
126+
127+
# todo: https://github.com/ydah/mdformat-action
124128

125-
build:
126-
runs-on: ubuntu-latest
127-
needs: [test, format, type-check, docs]
129+
# build:
130+
# runs-on: ubuntu-latest
131+
# needs: [test, format, type-check, docs]
128132

129-
steps:
130-
- name: Check out repository
131-
uses: actions/checkout@v3
133+
# steps:
134+
# - name: Check out repository
135+
# uses: actions/checkout@v3
132136

133-
- name: Set up Python 3.13
134-
uses: actions/setup-python@v4
135-
with:
136-
python-version: "3.13"
137-
138-
- name: Install PDM
139-
run: |
140-
python -m pip install --upgrade pip
141-
pip install pdm
142-
143-
- name: Install dependencies
144-
run: |
145-
pdm install -G:all
146-
147-
- name: Build package
148-
run: |
149-
pdm build
137+
# - name: Set up Python 3.13
138+
# uses: actions/setup-python@v4
139+
# with:
140+
# python-version: "3.13"
141+
142+
# - name: Install PDM
143+
# run: |
144+
# python -m pip install --upgrade pip
145+
# pip install pdm
146+
147+
# - name: Install dependencies
148+
# run: |
149+
# pdm install -G:all
150+
151+
# - name: Build package
152+
# run: |
153+
# pdm build

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Python API Client for Fitbit™
22

3-
[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
4-
[![PDM](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm.fming.dev)
3+
# Fitbit Client
4+
5+
[![CI](https://github.com/jpstroop/fitbit-client/actions/workflows/ci.yml/badge.svg)](https://github.com/jpstroop/fitbit-client/actions/workflows/ci.yml)
6+
[![codecov](https://codecov.io/gh/jpstroop/fitbit-client/branch/main/graph/badge.svg)](https://codecov.io/gh/jpstroop/fitbit-client)
57
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
6-
[![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL%203.0-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
8+
[![Python 3.13+](https://img.shields.io/badge/python-3.13+-blue.svg)](https://www.python.org/downloads/release/python-3130/)
9+
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
710

811
A fully-typed Python client for interacting with the Fitbit API, featuring
912
OAuth2 PKCE authentication and resource-based API interactions.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ codeformatters = [
7373
extensions = [
7474
"gfm"
7575
]
76+
exclude = [".venv/**"]
7677

7778
[tool.pytest.ini_options]
7879
testpaths = ["tests"]

0 commit comments

Comments
 (0)