diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-17 14:49:48 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-17 14:49:48 +0300 |
commit | 4c7e63364f53b940084bc46ca2d29b50dc3aab7f (patch) | |
tree | 455f792fb30370d6468f7e1556b6210043e82258 /project/ci | |
parent | GIANT CLUSTERFUCK OF A COMMIT (diff) | |
download | cmake-common-4c7e63364f53b940084bc46ca2d29b50dc3aab7f.tar.gz cmake-common-4c7e63364f53b940084bc46ca2d29b50dc3aab7f.zip |
fix PyLint warnings
Diffstat (limited to 'project/ci')
-rw-r--r-- | project/ci/appveyor/generator.py | 4 | ||||
-rw-r--r-- | project/ci/cmake.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/project/ci/appveyor/generator.py b/project/ci/appveyor/generator.py index dc1fa13..19c11df 100644 --- a/project/ci/appveyor/generator.py +++ b/project/ci/appveyor/generator.py @@ -15,7 +15,7 @@ class Image(Enum): VS_2019 = 'Visual Studio 2019' def __str__(self): - return self.value + return str(self.value) @staticmethod def parse(s): @@ -36,7 +36,7 @@ class Generator(Enum): VS_2019 = 'Visual Studio 16 2019' def __str__(self): - return self.value + return str(self.value) @staticmethod def from_image(image): diff --git a/project/ci/cmake.py b/project/ci/cmake.py index df2b55a..2f801de 100644 --- a/project/ci/cmake.py +++ b/project/ci/cmake.py @@ -26,7 +26,7 @@ def _parse_args(dirs, argv=None): help='set Boost directory path') parser.add_argument('--toolset', metavar='TOOLSET', type=ToolchainType.parse, - help=f'toolset to use') + help='toolset to use') parser.add_argument('cmake_args', nargs='*', metavar='CMAKE_ARG', default=[], help='additional CMake arguments, to be passed verbatim') return parser.parse_args(argv) |