Skip to content

Commit

Permalink
update CI to use python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlou05 committed Jul 28, 2024
1 parent 2073636 commit af914b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This workflow will install Python dependencies and run tests with PyTest using Python 3.8
# This workflow will install Python dependencies and run tests with PyTest using Python 3.11
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Run tests
Expand All @@ -18,10 +18,10 @@ jobs:
- uses: actions/checkout@v3

# Set Python version
- name: Set up Python 3.8
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11

# Set up submodules and submodule dependencies
# TODO: Uncomment when there are submodules
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs = 0

# Minimum Python version to use for version dependent checks. Will default to the
# version used to run pylint.
py-version = "3.8"
py-version = "3.11"

# Discover python modules and packages in the file system subtree.
recursive = true
Expand Down Expand Up @@ -115,7 +115,7 @@ addopts = "--ignore=modules/common/"

[tool.black]
line-length = 100
target-version = ["py38"]
target-version = ["py311"]
# Excludes files or directories in addition to the defaults
# Submodules
extend-exclude = "modules/common/*"

0 comments on commit af914b2

Please sign in to comment.