From 807f17f0dd4c58bc831f148ea6d045dff7b09ecf Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 27 Jun 2024 14:59:04 -0400 Subject: [PATCH 1/2] fix ruff style check --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ed50f485f5..efead36d3a 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ skip_install = true deps = ruff commands = - ruff . {posargs} + ruff check . {posargs} [testenv:check-security] description = run bandit to check security compliance From 064208c9db3c4fbb255d80dd9f206d4203a3e55f Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 27 Jun 2024 15:10:15 -0400 Subject: [PATCH 2/2] add noqa for new style check failure --- jwst/lib/engdb_direct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jwst/lib/engdb_direct.py b/jwst/lib/engdb_direct.py index 4b6e7b47ba..39ddf977ce 100644 --- a/jwst/lib/engdb_direct.py +++ b/jwst/lib/engdb_direct.py @@ -81,7 +81,7 @@ def __init__(self, base_url=None, default_format='dict', **service_kwargs): response.raise_for_status() @property - def default_format(self): + def default_format(self): # noqa: F811 return self._default_format @default_format.setter