From b4f08f0eef476bcd2ba7f47dfead150b65169f51 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Thu, 9 Sep 2021 12:14:20 +0100 Subject: [PATCH] Add py.typed file and improve mypy config --- cylc/rose/py.typed | 0 mypy.ini | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 cylc/rose/py.typed diff --git a/cylc/rose/py.typed b/cylc/rose/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/mypy.ini b/mypy.ini index 34d36652..51e43ae4 100644 --- a/mypy.ini +++ b/mypy.ini @@ -7,3 +7,7 @@ files = cylc/rose # Needed for associating "import foo.bar" with foo/bar.py namespace_packages = True explicit_package_bases = True + +allow_redefinition = True +strict_equality = True +show_error_codes = True