diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-11-25 12:29:40 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-11-26 09:18:00 -0500 |
commit | 3b09a89d95f765399324dd53b4cb8504b0a7903b (patch) | |
tree | dc0837c10c7f0374c14ae4f267598f0060dfaddd /tests/test_environment.py | |
parent | fc451e60731ad5b8d73255f0a1996e1d4e0f20de (diff) | |
download | alembic-3b09a89d95f765399324dd53b4cb8504b0a7903b.tar.gz |
run pyupgrade
command is:
find alembic -name "*.py" | xargs pyupgrade --py37-plus --keep-runtime-typing --keep-percent-format
I'm having some weird fighting with the tools/write_pyi, where
in different runtime contexts it keeps losing "MigrationContext"
and also Callable drops the args, but it's not consisistent.
For whatever reason, under py311 things *do* work every time.
im working w/ clean tox environments so not really sure what the
change is. anyway, let's at least fix the quoting up
around the types.
This is towards getting the "*" in the op signatures for #1130.
Change-Id: I9175905d3b4325e03a97d6752356b70be20e9fad
Diffstat (limited to 'tests/test_environment.py')
-rw-r--r-- | tests/test_environment.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_environment.py b/tests/test_environment.py index d6c3a65..d9c14ca 100644 --- a/tests/test_environment.py +++ b/tests/test_environment.py @@ -1,4 +1,3 @@ -#!coding: utf-8 import os import sys |