summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorLiza Chevalier <lizalc@pm.me>2025-12-06 14:43:48 -0600
committerDylan Baker <dylan@pnwbakers.com>2025-12-08 10:06:08 -0800
commit67a64f82059aab847e6df26607b53cb1b68e4655 (patch)
tree82018cdd7d6a2f00be194ce6b457184a8165e460 /mesonbuild/compilers
parent72b72fa1a62a8be56c02e0cd0d4bbe24dd518c87 (diff)
downloadmeson-67a64f82059aab847e6df26607b53cb1b68e4655.tar.gz
style: use singe quotes for strings
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/mixins/microchip.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/mesonbuild/compilers/mixins/microchip.py b/mesonbuild/compilers/mixins/microchip.py
index 29fe0c5f1..4c38108ef 100644
--- a/mesonbuild/compilers/mixins/microchip.py
+++ b/mesonbuild/compilers/mixins/microchip.py
@@ -122,14 +122,14 @@ class Xc32Compiler(CompilerBase):
gcc_version = '4.5.1' # Defaults to GCC version used by first XC32 release (v1.00).
- _COLOR_VERSION = ">=3.0" # XC32 version based on GCC 8.3.1+
- _WPEDANTIC_VERSION = ">=1.40" # XC32 version based on GCC 4.8.3+
- _LTO_AUTO_VERSION = "==-1"
- _USE_MOLD_VERSION = "==-1"
+ _COLOR_VERSION = '>=3.0' # XC32 version based on GCC 8.3.1+
+ _WPEDANTIC_VERSION = '>=1.40' # XC32 version based on GCC 4.8.3+
+ _LTO_AUTO_VERSION = '==-1'
+ _USE_MOLD_VERSION = '==-1'
def __init__(self) -> None:
if not self.is_cross:
- raise EnvironmentException("XC32 supports only cross-compilation.")
+ raise EnvironmentException('XC32 supports only cross-compilation.')
def get_instruction_set_args(self, instruction_set: str) -> T.Optional[T.List[str]]:
return None
@@ -182,14 +182,14 @@ class Xc32CStds(GnuCStds):
"""Mixin for setting C standards based on XC32 version."""
- _C18_VERSION = ">=3.0"
- _C2X_VERSION = "==-1"
- _C23_VERSION = "==-1"
- _C2Y_VERSION = "==-1"
+ _C18_VERSION = '>=3.0'
+ _C2X_VERSION = '==-1'
+ _C23_VERSION = '==-1'
+ _C2Y_VERSION = '==-1'
class Xc32CPPStds(GnuCPPStds):
"""Mixin for setting C++ standards based on XC32 version."""
- _CPP23_VERSION = "==-1"
- _CPP26_VERSION = "==-1"
+ _CPP23_VERSION = '==-1'
+ _CPP26_VERSION = '==-1'