Skip to content

Commit

Permalink
Enable python 3.12 for unit-tests. Minor meta config parameter changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lzkelley committed Apr 10, 2024
1 parent b8a1c3b commit 71a4400
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/unit-tests-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, macOS-latest, windows-latest]
os: [ubuntu-latest, macOS-latest]
# os: [ubuntu-latest]
python-version: ['3.9', '3.10', '3.11']
# python-version: ['3.10']
python-version: ['3.9', '3.10', '3.11', '3.12']
# mpi: [ 'mpich', 'openmpi', 'intelmpi']
# mpi: ['openmpi']

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
requires = ["setuptools >= 40.6.0", "wheel", "Cython<3.0.0", "numpy", "scipy"]
build-backend = "setuptools.build_meta"

[mypy]
[tool.mypy]
allow_redefinition = true

[tool.ruff]
Expand Down Expand Up @@ -40,4 +40,4 @@ select = [
]

[tool.ruff.mccabe]
max-complexity = 10
max-complexity = 15
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ envlist =
py39
py310
py311
py312

[testenv]
allowlist_externals =
Expand Down Expand Up @@ -51,7 +52,7 @@ commands =
[flake8]
max-line-length=140
docstring-convention=all
max-complexity = 10
max-complexity = 15
exclude =
.git
.tox
Expand Down

0 comments on commit 71a4400

Please sign in to comment.