From fe19bfc24f78f4eaf9ac62eff88438e97e24c32e Mon Sep 17 00:00:00 2001 From: Your Full Name Date: Tue, 2 Apr 2024 08:19:38 -0700 Subject: [PATCH 1/2] commit changes --- tests/integration/test_cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/test_cli.py b/tests/integration/test_cli.py index 0c072f1c..7ae4590e 100644 --- a/tests/integration/test_cli.py +++ b/tests/integration/test_cli.py @@ -95,3 +95,5 @@ def test_consume_halt_with_exitcode(callback, exit_code, msg, queue, cli_conf): assert process.returncode == exit_code assert msg in process.stdout.read() + +""" Adding Mypy to Fedora-Messaging""" \ No newline at end of file From ffea55442b8c3e1a5784a14d1841daccaf15a939 Mon Sep 17 00:00:00 2001 From: Your Full Name Date: Sun, 21 Apr 2024 11:09:41 -0700 Subject: [PATCH 2/2] Addition of Mypy --- fedora_messaging/mypy.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fedora_messaging/mypy.cfg diff --git a/fedora_messaging/mypy.cfg b/fedora_messaging/mypy.cfg new file mode 100644 index 00000000..f4dca7ec --- /dev/null +++ b/fedora_messaging/mypy.cfg @@ -0,0 +1,8 @@ +# Global options: + +[mypy] +python_version = 3.8 +warn_return_any = True +warn_unused_configs = True +ignore_missing_imports = True +strict_optional = True \ No newline at end of file