]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Improve write_pyi usage 1525/head
authorAaron Griffin <aaron@growtherapy.com>
Wed, 28 Aug 2024 21:36:30 +0000 (16:36 -0500)
committerAaron Griffin <aaron@growtherapy.com>
Wed, 28 Aug 2024 21:36:30 +0000 (16:36 -0500)
commit679ea5c67ebbf5062891d50dabf6323cf5348d82
tree947af373d94a6e691e822d2ead6334166dc76d5f
parente210c2432033c4ca2a4426010be12fc98d1ceb09
Improve write_pyi usage

Due to some problems when running write_pyi, this includes the following
changes:

1. move the sys.path.append up before alembic is imported - this is
   using global imports otherwise
2. use tox to run write_pyi in order to avoid globally installed
   dependencies
tools/write_pyi.py
tox.ini