diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1dc765..0ec27be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ fail_fast: true repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: check-yaml @@ -15,18 +15,18 @@ repos: exclude: '(\.Rd|python/doc/source/reference/.*|test-doctest-.*)' - repo: https://github.com/tox-dev/tox-ini-fmt - rev: "1.5.0" + rev: "1.7.1" hooks: - id: tox-ini-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.5.1" + rev: "v2.14.2" hooks: - id: pyproject-fmt additional_dependencies: ["tox>=4.12.1"] - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3.9005 + rev: v0.4.3.9020 hooks: - id: parsable-R - id: no-browser-statement @@ -41,7 +41,7 @@ repos: - Rdpack - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.11.0 + rev: v0.15.0 hooks: # Run the formatter. - id: ruff-format @@ -52,6 +52,6 @@ repos: types_or: [ python, pyi, jupyter ] require_serial: true - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: v1.0.0 + rev: v1.0.2 hooks: - id: sphinx-lint diff --git a/python/pyproject.toml b/python/pyproject.toml index 47272e9..872f4b0 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -17,8 +17,8 @@ keywords = [ "Optimization", ] authors = [ - { name = "Manuel López-Ibáñez", email = "manuel.lopez-ibanez@manchester.ac.uk" }, { name = "Fergus Rooney", email = "fergus.rooney@outlook.com" }, + { name = "Manuel López-Ibáñez", email = "manuel.lopez-ibanez@manchester.ac.uk" }, ] requires-python = ">=3.10" classifiers = [ @@ -30,6 +30,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dependencies = [ "matplotlib>=3.6", @@ -68,10 +69,10 @@ lint.per-file-ignores."examples/*" = [ ] lint.per-file-ignores."src/mooplot/colour.py" = [ "D", -] # FIXME! +] lint.pycodestyle.max-doc-length = 80 lint.pycodestyle.max-line-length = 80 lint.pydocstyle.convention = "numpy" -[tool.pytest.ini_options] -doctest_optionflags = "NUMBER" +[tool.pytest] +ini_options.doctest_optionflags = "NUMBER"