diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-23 18:10:36 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-23 18:10:36 +0200 |
| commit | db93568d9f8423c4fe6399562f13fa54f7c96494 (patch) | |
| tree | e5543032f89706d0afb3a3c9f777ba1aa14e2620 /project/boost/directory.py | |
| parent | workflows/aur: inherit secrets (diff) | |
| download | cmake-common-db93568d9f8423c4fe6399562f13fa54f7c96494.tar.gz cmake-common-db93568d9f8423c4fe6399562f13fa54f7c96494.zip | |
use default settings for Black
Diffstat (limited to 'project/boost/directory.py')
| -rw-r--r-- | project/boost/directory.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/project/boost/directory.py b/project/boost/directory.py index 62090dc..fc05f68 100644 --- a/project/boost/directory.py +++ b/project/boost/directory.py @@ -27,7 +27,7 @@ class BoostDir: def _bootstrap_if_required(self, params): if os.path.isfile(self._b2_path()): - logging.info('Not going to bootstrap, b2 is already there') + logging.info("Not going to bootstrap, b2 is already there") return self.bootstrap(params) @@ -41,14 +41,14 @@ class BoostDir: @staticmethod def _bootstrap_path(): - return os.path.join('.', BoostDir._bootstrap_name()) + return os.path.join(".", BoostDir._bootstrap_name()) @staticmethod def _bootstrap_name(): - ext = '.sh' + ext = ".sh" if on_windows(): - ext = '.bat' - return f'bootstrap{ext}' + ext = ".bat" + return f"bootstrap{ext}" @staticmethod def _bootstrap_args(toolset_version): @@ -59,11 +59,11 @@ class BoostDir: @staticmethod def _b2_path(): - return os.path.join('.', BoostDir._b2_name()) + return os.path.join(".", BoostDir._b2_name()) @staticmethod def _b2_name(): - ext = '' + ext = "" if on_windows(): - ext = '.exe' - return f'b2{ext}' + ext = ".exe" + return f"b2{ext}" |
