Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/fprettify/__init__.py b/fprettify/__init__.py
index d6450a3..76add49 100644
--- a/fprettify/__init__.py
+++ b/fprettify/__init__.py
@@ -269,7 +269,7 @@ class plusminus_parser(parser_re):
LR_OPS_RE = [REL_OP_RE, LOG_OP_RE, plusminus_parser(PLUSMINUS_RE), MULTDIV_RE, PRINT_RE]

USE_RE = re.compile(
- SOL_STR + "USE(\s+|(,.+?)?::\s*)\w+?((,.+?=>.+?)+|,\s*only\s*:.+?)?$" + EOL_STR, RE_FLAGS)
+ SOL_STR + r"USE(\s+|(,.+?)?::\s*)\w+?((,.+?=>.+?)+|,\s*only\s*:.+?)?$" + EOL_STR, RE_FLAGS)

# markups to deactivate formatter
NO_ALIGN_RE = re.compile(SOL_STR + r"&\s*[^\s*]+")
2 changes: 2 additions & 0 deletions repos/spack_repo/builtin/packages/py_fprettify/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ class PyFprettify(PythonPackage):

depends_on("py-setuptools", type="build")
depends_on("py-configargparse", type=("build", "run"))

patch("fprettify370_pr176.patch", when="@0.3.7")
Loading