fix flake8 warnings

This commit is contained in:
Markus Hofbauer
2022-05-12 14:07:49 +02:00
parent 50a0e0dc81
commit 4b280d9e1f
3 changed files with 4 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ if __name__ == "__main__":
upload_dependencies="all",
pip_install=["sphinx", "recommonmark", "breathe"],
# build configurations
archs=["x86_64"], # limit to 64-bit only
archs=["x86_64"], # limit to 64-bit only
)
builder.add_common_builds(pure_c=True)
for settings, options, env_vars, build_requires, reference in builder.items:

View File

@@ -27,6 +27,7 @@ from conan import ConanFile
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain
from conan.tools.files import copy, load, rmdir
from conan.tools.scm import Version
from conans.errors import ConanInvalidConfiguration
from conans.tools import ( # TODO replace with new tools for Conan 2.0
check_min_cppstd,
get_env,

View File

@@ -9,9 +9,10 @@
:license: BSD, see LICENSE for details.
"""
import os
import re
import subprocess
import sphinx_rtd_theme
from pygments.lexer import (
RegexLexer,
bygroups,
@@ -482,10 +483,6 @@ lexers["cpp"] = MyCppLexer(startinline=True)
# For a full list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import os
import re
import subprocess
def get_version():
try: