mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
fix flake8 warnings
This commit is contained in:
2
build.py
2
build.py
@@ -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:
|
||||
|
@@ -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,
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user