From 7f7c4cf799334b9065a147dd847e27f7d4a554b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20H=C3=B6nig?= <jan.hoenig@fau.de>
Date: Thu, 16 Sep 2021 17:52:59 +0200
Subject: [PATCH] Fixed wrong type hints.

Added authors and changed package's email to a more general solution.
---
 pystencils/kernelcreation.py | 8 ++++----
 setup.py                     | 5 +++--
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/pystencils/kernelcreation.py b/pystencils/kernelcreation.py
index aa1fde55b..19e0180ee 100644
--- a/pystencils/kernelcreation.py
+++ b/pystencils/kernelcreation.py
@@ -3,7 +3,7 @@ import itertools
 import warnings
 from dataclasses import dataclass, field
 from types import MappingProxyType
-from typing import Callable, Union, List, Dict, Tuple
+from typing import Callable, Union, List, Dict, Tuple, Any
 
 import sympy as sp
 
@@ -68,10 +68,10 @@ class CreateKernelConfig:
     use_textures_for_interpolation: bool = True
     cpu_prepend_optimizations: List[Callable] = field(default_factory=list)
     use_auto_for_assignments: bool = False
-    opencl_queue: ... = None
-    opencl_ctx: ... = None
+    opencl_queue: Any = None
+    opencl_ctx: Any = None
     index_fields: List[Field] = None
-    coordinate_names: Tuple[str, ...] = ('x', 'y', 'z')
+    coordinate_names: Tuple[str, Any] = ('x', 'y', 'z')
 
     def __post_init__(self):
         # ----  Legacy parameters
diff --git a/setup.py b/setup.py
index 29fdc206c..bf69060be 100644
--- a/setup.py
+++ b/setup.py
@@ -74,6 +74,7 @@ def cython_extensions(*extensions):
     else:
         return None
 
+
 def get_cmdclass():
     cmdclass={"quicktest": SimpleTestRunner}
     cmdclass.update(versioneer.get_cmdclass())
@@ -85,9 +86,9 @@ setuptools.setup(name='pystencils',
                  version=versioneer.get_version(),
                  long_description=readme(),
                  long_description_content_type="text/markdown",
-                 author='Martin Bauer',
+                 author='Martin Bauer, Jan Hönig, Markus Holzer',
                  license='AGPLv3',
-                 author_email='martin.bauer@fau.de',
+                 author_email='cs10-codegen@fau.de',
                  url='https://i10git.cs.fau.de/pycodegen/pystencils/',
                  packages=['pystencils'] + ['pystencils.' + s for s in setuptools.find_packages('pystencils')],
                  install_requires=['sympy>=1.2', 'numpy>=1.8.0', 'appdirs', 'joblib'],
-- 
GitLab