From 4fa6d39a6ab402a1b186752c6781e98507646469 Mon Sep 17 00:00:00 2001 From: William Jamieson Date: Wed, 12 Oct 2022 10:17:37 -0400 Subject: [PATCH 1/2] Update pre-commit with `yesqa` --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d25e58b79..c1a4ba45b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,6 +27,11 @@ repos: - id: rst-inline-touching-normal - id: text-unicode-replacement-char +- repo: https://github.com/asottile/yesqa + rev: v1.4.0 + hooks: + - id: yesqa + - repo: https://github.com/asottile/pyupgrade rev: v3.1.0 hooks: From 5090ff3332883dc23b164e1562ba8a83040907e6 Mon Sep 17 00:00:00 2001 From: William Jamieson Date: Wed, 12 Oct 2022 10:18:36 -0400 Subject: [PATCH 2/2] Fixes made by `yesqa` --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index b725c6c9a..8bc94c0af 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +1,7 @@ from pathlib import Path import tomli -from sphinx_asdf.conf import * # noqa: F403, F401 +from sphinx_asdf.conf import * # noqa: F403 try: from importlib.metadata import distribution