From f8955eb8b76a4c0461e894847a0330f062eca1b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Oct 2026 13:50:59 +0000 Subject: [PATCH 1/3] build(deps-dev): update ruff requirement to 0.17.* Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.18...0.17.0) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.17.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 581b729..6576b67 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ extras_require={ "develop": [ "pyproject-fmt<3", - "ruff<0.17; python_version >= '3.7'", + "ruff==0.17.*; python_version >= '3.7'", "twine<8", "wheel<1", ], From 30ec08daadaa923a6055badb617f321419c5599f Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Mon, 19 Oct 2026 19:33:38 +0200 Subject: [PATCH 2/3] Chore: Format code with ruff 0.17 --- README.md | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index abad666..3f31fbb 100644 --- a/README.md +++ b/README.md @@ -17,32 +17,28 @@ client = epo_ops.Client(key="abc", secret="xyz") # Retrieve bibliography data. response = client.published_data( - - # publication, application, priority - reference_type="publication", - - # docdb, epodoc - input=epo_ops.models.Docdb("1000000", "EP", "A1"), - - # optional, defaults to biblio in case of published_data - endpoint="biblio", - - # optional, list of constituents - constituents=[], + # publication, application, priority + reference_type="publication", + # docdb, epodoc + input=epo_ops.models.Docdb("1000000", "EP", "A1"), + # optional, defaults to biblio in case of published_data + endpoint="biblio", + # optional, list of constituents + constituents=[], ) # Retrieve description. response = client.published_data( - reference_type="publication", - input=epo_ops.models.Docdb("1000000", "EP", "A1"), - endpoint="description", + reference_type="publication", + input=epo_ops.models.Docdb("1000000", "EP", "A1"), + endpoint="description", ) # Retrieve claims. response = client.published_data( - reference_type="publication", - input=epo_ops.models.Docdb("1000000", "EP", "A1"), - endpoint="claims", + reference_type="publication", + input=epo_ops.models.Docdb("1000000", "EP", "A1"), + endpoint="claims", ) ``` @@ -134,8 +130,8 @@ middlewares = [ epo_ops.middlewares.Throttler(), ] client = epo_ops.Client( - key='key', - secret='secret', + key="key", + secret="secret", middlewares=middlewares, ) ``` From f8143d802a88d3d0d6d46b3fcd2c0ae7dc8aa6a9 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Mon, 19 Oct 2026 19:33:53 +0200 Subject: [PATCH 3/3] Chore: Format `pyproject.toml` with most recent pyproject-fmt --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c816df0..346c460 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,15 +80,15 @@ lint.mccabe.max-complexity = 7 [tool.pytest] ini_options.minversion = "2.0" +ini_options.testpaths = [ "tests" ] ini_options.addopts = """ -rsfEX -p pytester --strict-markers --verbosity=3 --cov=epo_ops tests --cov-report=term-missing --cov-report=xml """ +ini_options.markers = [] +ini_options.xfail_strict = true ini_options.log_level = "DEBUG" ini_options.log_cli_level = "DEBUG" -ini_options.testpaths = [ "tests" ] -ini_options.xfail_strict = true -ini_options.markers = [] [tool.versioningit] vcs.method = "git-archive"