Skip to content
Snippets Groups Projects
Commit 01cc1db2 authored by Martin Bauer's avatar Martin Bauer
Browse files

Removed warnings (invalid escape sequence for docstring & cython issue)

parent d846c951
No related merge requests found
...@@ -5,7 +5,7 @@ import warnings ...@@ -5,7 +5,7 @@ import warnings
try: try:
import pyximport import pyximport
pyximport.install() pyximport.install(language_level=3)
from pystencils.boundaries.createindexlistcython import create_boundary_index_list_2d, create_boundary_index_list_3d from pystencils.boundaries.createindexlistcython import create_boundary_index_list_2d, create_boundary_index_list_3d
cython_funcs_available = True cython_funcs_available = True
......
...@@ -35,7 +35,7 @@ def get_environment(version_specifier, arch='x64'): ...@@ -35,7 +35,7 @@ def get_environment(version_specifier, arch='x64'):
def find_latest_msvc_version_using_environment_variables(): def find_latest_msvc_version_using_environment_variables():
import re import re
# noinspection SpellCheckingInspection # noinspection SpellCheckingInspection
regex = re.compile('VS(\d\d)\dCOMNTOOLS') regex = re.compile(r'VS(\d\d)\dCOMNTOOLS')
versions = [] versions = []
for key, value in os.environ.items(): for key, value in os.environ.items():
match = regex.match(key) match = regex.match(key)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment