mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 03:44:27 +02:00
fix flake8 warnings
This commit is contained in:
@@ -27,6 +27,7 @@ from conan import ConanFile
|
|||||||
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain
|
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain
|
||||||
from conan.tools.files import copy, load, rmdir
|
from conan.tools.files import copy, load, rmdir
|
||||||
from conan.tools.scm import Version
|
from conan.tools.scm import Version
|
||||||
|
from conans.errors import ConanInvalidConfiguration
|
||||||
from conans.tools import ( # TODO replace with new tools for Conan 2.0
|
from conans.tools import ( # TODO replace with new tools for Conan 2.0
|
||||||
check_min_cppstd,
|
check_min_cppstd,
|
||||||
get_env,
|
get_env,
|
||||||
|
@@ -9,9 +9,10 @@
|
|||||||
:license: BSD, see LICENSE for details.
|
:license: BSD, see LICENSE for details.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import os
|
||||||
import re
|
import re
|
||||||
|
import subprocess
|
||||||
|
|
||||||
import sphinx_rtd_theme
|
|
||||||
from pygments.lexer import (
|
from pygments.lexer import (
|
||||||
RegexLexer,
|
RegexLexer,
|
||||||
bygroups,
|
bygroups,
|
||||||
@@ -482,10 +483,6 @@ lexers["cpp"] = MyCppLexer(startinline=True)
|
|||||||
# For a full list see the documentation:
|
# For a full list see the documentation:
|
||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
||||||
|
|
||||||
import os
|
|
||||||
import re
|
|
||||||
import subprocess
|
|
||||||
|
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user