Skip to content

Commit

Permalink
[MAINT] update python (#25)
Browse files Browse the repository at this point in the history
* update python

* allow prerelease
  • Loading branch information
Remi-Gau authored Oct 8, 2024
1 parent 32f36db commit 2865ece
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
py: ['3.12', '3.11', '3.10', '3.9', '3.8']
py: ['3.13', '3.12', '3.11', '3.10', '3.9']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout
Expand All @@ -29,7 +29,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
allow-prereleases: false
allow-prereleases: true
- name: Install tox
run: python -m pip install --upgrade tox
- name: Run tests
Expand Down
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-ast
- id: check-case-conflict
Expand All @@ -23,20 +23,20 @@ repos:
args: [--profile, black, --settings-path, pyproject.toml]

- repo: https://github.com/asottile/pyupgrade
rev: v3.16.0
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
rev: 24.10.0
hooks:
- id: black
additional_dependencies: ['.[jupyter]']
args: [--config, pyproject.toml]

- repo: https://github.com/adamchainz/blacken-docs
rev: 1.18.0
rev: 1.19.0
hooks:
- id: blacken-docs
additional_dependencies:
Expand All @@ -56,13 +56,13 @@ repos:
args: [--mapping, '4', --sequence, '4', --offset, '0']

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.13.0
rev: v2.14.0
hooks:
- id: pretty-format-toml
args: [--autofix, --indent, '4']

- repo: https://github.com/pyCQA/flake8
rev: 7.1.0
rev: 7.1.1
hooks:
- id: flake8
args: [--config, .flake8, --verbose, neurodesign, examples]
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ classifiers = [
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
dependencies = [
"scikit-learn>0.15.0",
Expand All @@ -35,7 +35,7 @@ license = {text = "MIT"}
maintainers = [{name = "Joke Durnez", email = "[email protected]"}]
name = "neurodesign"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"

[project.optional-dependencies]
# A combination of dependencies useful for developers
Expand Down

0 comments on commit 2865ece

Please sign in to comment.