Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ignore =
# break after binary operator - allow either style
exclude=
.git,
.venv,
build,
dev-requirements,
venv,
22 changes: 11 additions & 11 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install .[test]
python3 -m pip install --upgrade pip
python3 -m pip install flake8 pytest
python3 -m pip install .[test]
- name: Lint with flake8
run: |
python -m flake8
- name: Test sorting wioth isort
python3 -m flake8
- name: Test sorting with isort
run: |
python -m isort --verbose --check-only --diff chaste_codegen tests setup.py
python3 -m isort --verbose --check-only --diff chaste_codegen tests setup.py
- name: Test with pytest
run: |
python -m pytest --cov --cov-config=.coveragerc
- uses: codecov/codecov-action@v5
python3 -m pytest --cov --cov-config=.coveragerc
- uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
3 changes: 3 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Release 0.10.7
- Added support for Python 3.14.

# Release 0.10.6
- Added support for Python 3.13.
- Updated dependency versions:
Expand Down
2 changes: 1 addition & 1 deletion chaste_codegen/_command_line_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def skip_conversion(args):

def process_command_line():
# add options for command line interface
parser = argparse.ArgumentParser(description='Chaste code generation for cellml.')
parser = argparse.ArgumentParser(prog='chaste_codegen', description='Chaste code generation for cellml.')
# Options for added pycml backwards compatibility, these are now always on
parser.add_argument('--Wu', '--warn-on-units-errors', action='store_true', help=argparse.SUPPRESS)
parser.add_argument('-A', '--fully-automatic', action='store_true', help=argparse.SUPPRESS)
Expand Down
2 changes: 1 addition & 1 deletion chaste_codegen/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.6
0.10.7