From 11411dd402d92dd76bd1cd813f2bc281b5d1905e Mon Sep 17 00:00:00 2001 From: Joachim Metz Date: Mon, 8 Jan 2024 06:17:07 +0100 Subject: [PATCH] Applied updates --- ACKNOWLEDGEMENTS | 4 ++++ AUTHORS | 11 +++++++++++ MANIFEST.in | 2 +- tests/yaml_definitions_file.py | 3 +-- 4 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 ACKNOWLEDGEMENTS create mode 100644 AUTHORS diff --git a/ACKNOWLEDGEMENTS b/ACKNOWLEDGEMENTS new file mode 100644 index 0000000..ab1c7fc --- /dev/null +++ b/ACKNOWLEDGEMENTS @@ -0,0 +1,4 @@ +Acknowledgements: esedb-kb + +Copyright (c) 2023-2024, Joachim Metz + diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..5817ed8 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,11 @@ +# Names should be added to this file with this pattern: +# +# For individuals: +# Name (email address) +# +# For organizations: +# Organization (fnmatch pattern) +# +# See python fnmatch module documentation for more information. + +Joachim Metz (joachim.metz@gmail.com) diff --git a/MANIFEST.in b/MANIFEST.in index 9f49bfd..48bb504 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -include LICENSE README +include ACKNOWLEDGEMENTS AUTHORS LICENSE README include dependencies.ini run_tests.py utils/__init__.py utils/dependencies.py include utils/check_dependencies.py include requirements.txt test_requirements.txt diff --git a/tests/yaml_definitions_file.py b/tests/yaml_definitions_file.py index f476984..8850af6 100644 --- a/tests/yaml_definitions_file.py +++ b/tests/yaml_definitions_file.py @@ -2,7 +2,6 @@ # -*- coding: utf-8 -*- """Tests for the YAML-based database definitions file.""" -import io import unittest from sqliterc import yaml_definitions_file @@ -52,7 +51,7 @@ def testReadFromFileObject(self): test_definitions_file = yaml_definitions_file.YAMLDatabaseDefinitionsFile() - with io.open(test_file_path, 'r', encoding='utf-8') as file_object: + with open(test_file_path, 'r', encoding='utf-8') as file_object: definitions = list(test_definitions_file._ReadFromFileObject(file_object)) self.assertEqual(len(definitions), 5)