From ef70ddc1fb2800e340de50bcdb3cef2d34cc3b11 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 3 Nov 2022 09:05:44 +0300 Subject: Initialise the Auth(entic|oris)ation packages Initialise the authentication/authorisation system packages and set up the initial database migrations to set up the system. * README.md: Add documentation on migrations * gn3/auth/__init__.py: init package * gn3/auth/authentication/__init__.py: init package * gn3/auth/authorisation/__init__.py: init package * gn3/migrations.py: provide migration utilities * migrations/auth/20221103_01_js9ub-initialise-the-auth-entic-oris-ation-database.py: new migration * tests/unit/auth/test_init_database.py: test new migration applies and rolls back as expected * tests/unit/conftest.py: fixtures for unit tests * yoyo.auth.ini: basic configuration for yoyo-migration for auth system migrations --- mypy.ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mypy.ini') diff --git a/mypy.ini b/mypy.ini index 0880695..89c5f30 100644 --- a/mypy.ini +++ b/mypy.ini @@ -48,3 +48,6 @@ ignore_missing_imports = True [mypy-xapian.*] ignore_missing_imports = True + +[mypy-yoyo.*] +ignore_missing_imports = True -- cgit v1.2.3