diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e9adffbc..65fe164d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ ci: repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3.9017 + rev: v0.4.3.9020 hooks: - id: parsable-R - id: no-browser-statement @@ -45,19 +45,19 @@ repos: exclude: '(\.Rd|python/doc/source/reference/.*|test-doctest-.*)' - repo: https://github.com/tox-dev/tox-ini-fmt - rev: "1.7.0" + rev: "1.7.1" hooks: - id: tox-ini-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.11.0" + rev: "v2.12.1" hooks: - id: pyproject-fmt additional_dependencies: ["tox>=4.12.1"] - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.14.3 + rev: v0.14.14 hooks: # Run the formatter. - id: ruff-format @@ -69,6 +69,6 @@ repos: require_serial: true - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: v1.0.1 + rev: v1.0.2 hooks: - id: sphinx-lint diff --git a/python/pyproject.toml b/python/pyproject.toml index 9a87d1ff..38def0bf 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -18,11 +18,11 @@ keywords = [ "operations research", "Optimization", ] -license = "LGPL-2.1-or-later" +license = "LGPL-2.1-OR-later" license-files = [ "COPYRIGHTS" ] 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 = [ @@ -130,6 +130,14 @@ repair-wheel-command = [ "abi3audit --verbose --strict --report {wheel}", ] +[tool.cibuildwheel.macos] +archs = [ "universal2" ] +before-build = "pip install abi3audit" +repair-wheel-command = [ + "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}", + "abi3audit --verbose --strict --report {wheel}", +] + [tool.cibuildwheel.windows] archs = [ "native" ] # Use delvewheel on windows @@ -139,14 +147,6 @@ repair-wheel-command = [ "abi3audit --verbose --strict --report {wheel}", ] -[tool.cibuildwheel.macos] -archs = [ "universal2" ] -before-build = "pip install abi3audit" -repair-wheel-command = [ - "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}", - "abi3audit --verbose --strict --report {wheel}", -] - [tool.ruff] line-length = 80 format.docstring-code-line-length = 80