diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2914cb0..aeb62b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,21 +1,21 @@ repos: - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.10.0 hooks: - id: black pass_filenames: true - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.1.1 hooks: - id: flake8 - additional_dependencies: [flake8-typing-imports] + additional_dependencies: [flake8-typing-imports==1.11.0] pass_filenames: true - repo: https://github.com/asottile/pyupgrade - rev: v3.9.0 + rev: v3.19.0 hooks: - id: pyupgrade - args: ["--py38-plus", "--keep-runtime-typing"] + args: ["--py39-plus", "--keep-runtime-typing"] diff --git a/setup.cfg b/setup.cfg index 77ac503..1b672b1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,9 +17,9 @@ classifiers = License :: OSI Approved :: GNU General Public License v3 (GPLv3) Programming Language :: Python Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Scientific/Engineering Topic :: Scientific/Engineering :: Visualization Topic :: Scientific/Engineering :: Information Analysis @@ -34,7 +34,7 @@ project_urls = [options] zip_safe = False packages = find: -python_requires = >=3.8 +python_requires = >=3.9 include_package_data = True setup_requires = setuptools_scm diff --git a/tox.ini b/tox.ini index 78a88df..3ee797c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,13 @@ [tox] -envlist = py{38,39,310}-{linux,macos,windows} +envlist = py{39,310,311}-{linux,macos,windows} toxworkdir=/tmp/.tox isolated_build = True [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 [gh-actions:env] PLATFORM =