Skip to content

Commit f01a105

Browse files
authored
Implement the vast majority of QRZ's APIs & general linting/PEP8 compliance (#2)
* rework logbook attributes * add tests * update readme * use requests.codes.ok instead of checking 200 directly * implement delete_record, check_status * type hints * pep8 compliance-ish * linting --------- Co-authored-by: Jacob Humble <contact@jacobhumble.com>
1 parent 588a1d1 commit f01a105

File tree

19 files changed

+1484
-320
lines changed

19 files changed

+1484
-320
lines changed

.github/workflows/pylint.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Pylint
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.9", "3.10", "3.11", "3.12"]
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v3
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pylint
21+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
22+
- name: Analysing the code with pylint
23+
run: |
24+
pylint $(git ls-files '*.py')

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.9", "3.10", "3.11"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2020

2121
steps:
2222
- uses: actions/checkout@v4

.github/workflows/super-linter.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/.vscode
33
/src/qspylib/__pycache__
44
/dist
5-
/docs/build
5+
/docs/build

0 commit comments

Comments
 (0)