File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import os .path
2- from typing import Dict , Final , List , Type
2+ from typing import Final
33
44import setuptools
55
1010REQUIREMENT_DIR : Final = "requirements"
1111ENCODING : Final = "utf8"
1212
13- pkg_info : Dict [str , str ] = {}
13+ pkg_info : dict [str , str ] = {}
1414
1515
16- def get_release_command_class () -> Dict [str , Type [setuptools .Command ]]:
16+ def get_release_command_class () -> dict [str , type [setuptools .Command ]]:
1717 try :
1818 from releasecmd import ReleaseCommand
1919 except ImportError :
@@ -29,10 +29,10 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
2929 LONG_DESCRIPTION : Final = f .read ()
3030
3131with open (os .path .join (REQUIREMENT_DIR , "requirements.txt" )) as f :
32- INSTALL_REQUIRES : Final [List [str ]] = [line .strip () for line in f if line .strip ()]
32+ INSTALL_REQUIRES : Final [list [str ]] = [line .strip () for line in f if line .strip ()]
3333
3434with open (os .path .join (REQUIREMENT_DIR , "test_requirements.txt" )) as f :
35- TESTS_REQUIRES : Final [List [str ]] = [line .strip () for line in f if line .strip ()]
35+ TESTS_REQUIRES : Final [list [str ]] = [line .strip () for line in f if line .strip ()]
3636
3737setuptools .setup (
3838 name = MODULE_NAME ,
You can’t perform that action at this time.
0 commit comments