From: Debian PaN Maintainers <debian-pan-maintainers@alioth-lists.debian.net>
Date: Wed, 18 Mar 2026 18:09:51 +0100
Subject: SyntaxWarning

---
 pyxrd/data/appdirs.py        | 4 ++--
 pyxrd/phases/models/phase.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyxrd/data/appdirs.py b/pyxrd/data/appdirs.py
index 36bdf72..cfb37eb 100644
--- a/pyxrd/data/appdirs.py
+++ b/pyxrd/data/appdirs.py
@@ -82,7 +82,7 @@ def user_data_dir(appname=None, appauthor=None, version=None, roaming=False):
 
 
 def site_data_dir(appname=None, appauthor=None, version=None, multipath=False):
-    """Return full path to the user-shared data dir for this application.
+    r"""Return full path to the user-shared data dir for this application.
 
         "appname" is the name of application.
             If None, just the system directory is returned.
@@ -183,7 +183,7 @@ def user_config_dir(appname=None, appauthor=None, version=None, roaming=False):
 
 
 def site_config_dir(appname=None, appauthor=None, version=None, multipath=False):
-    """Return full path to the user-shared data dir for this application.
+    r"""Return full path to the user-shared data dir for this application.
 
         "appname" is the name of application.
             If None, just the system directory is returned.
diff --git a/pyxrd/phases/models/phase.py b/pyxrd/phases/models/phase.py
index 34f2493..abff88a 100644
--- a/pyxrd/phases/models/phase.py
+++ b/pyxrd/phases/models/phase.py
@@ -123,7 +123,7 @@ class Phase(RefinementGroup, AbstractPhase, metaclass=PyXRDRefinableMeta):
 
     #: The sigma star orientation factor
     sigma_star = FloatProperty(
-        default=3.0, text="σ* [°]", math_text="$\sigma^*$ [°]",
+        default=3.0, text="σ* [°]", math_text=r"$\sigma^*$ [°]",
         minimum=0.0, maximum=90.0,
         visible=True, persistent=True, tabular=True, refinable=True,
         inheritable=True, inherit_flag="inherit_sigma_star", inherit_from="based_on.sigma_star",
