]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
make sure no-ini-file actually works
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 May 2025 19:17:54 +0000 (15:17 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 May 2025 19:37:30 +0000 (15:37 -0400)
commita7117a43f6cc2b55fda45d4231d3f3b2a8c50d78
tree67a895e1cd5095836331aab858279aa00d71d418
parentf2ba80840490068f418ae6fb27c9ef08c821051a
make sure no-ini-file actually works

because Config has an alembic.ini path in it by default, if the file
doesnt exist it will raise when you call get_main_option().  make sure
no alembic function calls upon get_main_option() directly at all so that
configparser is entirely not required

Change-Id: Idae5979778e67075b3b233c902bfa4c70a2e614e
alembic/command.py
alembic/config.py
tests/test_config.py