diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-01-18 12:45:42 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-01-18 15:07:55 -0500 |
commit | cd96ffe287e26651f8dce4f688bf87af1e423f06 (patch) | |
tree | 123197d983714caa9ae225d330fcf3743ba11b52 /lib/sqlalchemy/sql/_elements_constructors.py | |
parent | f91a25cd8191f026dd43c0a2475cda8a56d65c19 (diff) | |
download | sqlalchemy-cd96ffe287e26651f8dce4f688bf87af1e423f06.tar.gz |
refactor code generation tools , include --check command
in particular it looks like CI was not picking up on the
"git diff" oriented commands, which were failing to run due
to pathing issues. As we were setting cwd for black/zimports
relative to sqlalchemy library, and tox installs it in
the venv, black/zimports would fail to run from tox, and
since these are subprocess.run we didn't pick up the
failure.
This overall locks down how zimports/black are run
so that we are definitely from the source root, by using
the location of tools/ to determine the root.
Fixes: #8892
Change-Id: I7c54b747edd5a80e0c699b8456febf66d8b62375
Diffstat (limited to 'lib/sqlalchemy/sql/_elements_constructors.py')
0 files changed, 0 insertions, 0 deletions