Skip to content

Commit 3b1efcc

Browse files
authored
Fix missing handling of non-standard method codes 9, 71 and 72. (#17)
* Fix missing handling of non-standard method codes 9, 71 and 72. * Update CHANGES.md * Bump version to 0.0.2 * Add Python 3.13 to pipeline.
1 parent c5ff03a commit 3b1efcc

5 files changed

Lines changed: 359 additions & 339 deletions

File tree

.github/workflows/branch.yaml

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
1-
name: Push
2-
on: [push]
3-
4-
jobs:
5-
test:
6-
strategy:
7-
fail-fast: false
8-
matrix:
9-
python-version: ['3.11', '3.12']
10-
poetry-version: ['1.8.3']
11-
os: [ubuntu-latest]
12-
runs-on: ${{ matrix.os }}
13-
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-python@v5
16-
with:
17-
python-version: ${{ matrix.python-version }}
18-
- name: Run image
19-
uses: abatilo/actions-poetry@v2
20-
with:
21-
poetry-version: ${{ matrix.poetry-version }}
22-
- name: Install dependencies
23-
run: poetry install
24-
- name: Run tests
25-
run: poetry run pytest --cov=./ --cov-report=xml
26-
- name: Upload coverage to Codecov
27-
uses: codecov/codecov-action@v4
28-
code-quality:
29-
strategy:
30-
fail-fast: false
31-
matrix:
32-
python-version: ['3.11', '3.12']
33-
poetry-version: ['1.8.3']
34-
os: [ubuntu-latest]
35-
runs-on: ${{ matrix.os }}
36-
steps:
37-
- uses: actions/checkout@v4
38-
- uses: actions/setup-python@v5
39-
with:
40-
python-version: ${{ matrix.python-version }}
41-
- name: Run image
42-
uses: abatilo/actions-poetry@v2
43-
with:
44-
poetry-version: ${{ matrix.poetry-version }}
45-
- name: Install dependencies
46-
run: poetry install
47-
- name: Run ruff
48-
run: poetry run ruff check .
49-
- name: Run mypy
50-
run: poetry run mypy .
51-
- name: Run bandit
52-
run: poetry run bandit .
53-
- name: Run safety
54-
run: poetry run safety check -i 70612
55-
- name: Check for acceptable licenses
56-
run: poetry run pip-licenses --allow-only="MIT License;BSD License;Python Software Foundation License;Apache Software License;Mozilla Public License 2.0 (MPL 2.0);ISC License (ISCL);The Unlicense (Unlicense)"
1+
name: Push
2+
on: [push]
3+
4+
jobs:
5+
test:
6+
strategy:
7+
fail-fast: false
8+
matrix:
9+
python-version: ['3.11', '3.12', '3.13']
10+
poetry-version: ['1.8.3']
11+
os: [ubuntu-latest]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Run image
19+
uses: abatilo/actions-poetry@v2
20+
with:
21+
poetry-version: ${{ matrix.poetry-version }}
22+
- name: Install dependencies
23+
run: poetry install
24+
- name: Run tests
25+
run: poetry run pytest --cov=./ --cov-report=xml
26+
- name: Upload coverage to Codecov
27+
uses: codecov/codecov-action@v4
28+
code-quality:
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
python-version: ['3.11', '3.12', '3.13']
33+
poetry-version: ['1.8.3']
34+
os: [ubuntu-latest]
35+
runs-on: ${{ matrix.os }}
36+
steps:
37+
- uses: actions/checkout@v4
38+
- uses: actions/setup-python@v5
39+
with:
40+
python-version: ${{ matrix.python-version }}
41+
- name: Run image
42+
uses: abatilo/actions-poetry@v2
43+
with:
44+
poetry-version: ${{ matrix.poetry-version }}
45+
- name: Install dependencies
46+
run: poetry install
47+
- name: Run ruff
48+
run: poetry run ruff check .
49+
- name: Run mypy
50+
run: poetry run mypy .
51+
- name: Run bandit
52+
run: poetry run bandit .
53+
- name: Run safety
54+
run: poetry run safety check -i 70612
55+
- name: Check for acceptable licenses
56+
run: poetry run pip-licenses --allow-only="MIT License;BSD License;Python Software Foundation License;Apache Software License;Mozilla Public License 2.0 (MPL 2.0);ISC License (ISCL);The Unlicense (Unlicense)"

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# NGI Python SGF Parser Package
22

3+
_2024-10-15_
4+
5+
Version 0.0.2
6+
7+
Fix missing handling of non-standard method codes 9, 71 and 72.
8+
39
_2024-10-03_
410

511
Version 0.0.1

0 commit comments

Comments
 (0)