From c2a1a8dcc1b00281409d94447074c84e117037bf Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Mon, 8 Apr 2024 17:56:40 +0200 Subject: [PATCH] Format with black --- noxfile.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/noxfile.py b/noxfile.py index 03e40cb..7a54a68 100644 --- a/noxfile.py +++ b/noxfile.py @@ -87,23 +87,23 @@ def fix_branch_references(_session): { "name": "github", "pattern": re.compile( - fr"((((http)|(https))://github\.com/{REPOSITORY}/((blob)|(tree))/)([\w-]+)/)" + rf"((((http)|(https))://github\.com/{REPOSITORY}/((blob)|(tree))/)([\w-]+)/)" ), - "replacement": fr"\2{branch}/", + "replacement": rf"\2{branch}/", }, { "name": "nbviewer", "pattern": re.compile( - fr"((((http)|(https))://nbviewer\.jupyter\.org/github/{REPOSITORY}/((blob)|(tree))/)([\w-]+)/)", + rf"((((http)|(https))://nbviewer\.jupyter\.org/github/{REPOSITORY}/((blob)|(tree))/)([\w-]+)/)", ), - "replacement": fr"\2{branch}/", + "replacement": rf"\2{branch}/", }, { "name": "mybinder", "pattern": re.compile( - fr"((((http)|(https))://mybinder\.org/v2/gh/{REPOSITORY}/)([\w-]+)\?)", + rf"((((http)|(https))://mybinder\.org/v2/gh/{REPOSITORY}/)([\w-]+)\?)", ), - "replacement": fr"\2{branch}?", + "replacement": rf"\2{branch}?", }, ]