File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1616 with :
1717 python-version : " 3.9"
1818 - name : Install dependencies
19- run : pip install --upgrade pip black
19+ run : pip install --no-cache-dir black==24.10.0
2020 - name : Run black
2121 run : black --check --diff --verbose .
2222 isort :
2828 with :
2929 python-version : " 3.9"
3030 - name : Install dependencies
31- run : pip install --upgrade pip isort[colors]
31+ run : pip install --no-cache-dir " isort[colors]==6.1.0"
3232 - name : Run isort
3333 run : isort --check-only --diff --verbose .
3434 flake8 :
4040 with :
4141 python-version : " 3.9"
4242 - name : Install dependencies
43- run : pip install --upgrade pip flake8
43+ run : pip install --no-cache-dir flake8==7.3.0
4444 - name : Run flake8
4545 run : flake8 --verbose .
4646 mypy :
5252 with :
5353 python-version : " 3.9"
5454 - name : Install dependencies
55- run : pip install --upgrade pip mypy pydantic
55+ run : pip install --no-cache-dir mypy==1.15.0 pydantic
5656 - name : Run mypy
5757 run : mypy --install-types --non-interactive ./src
Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ def __init__(
7676 "User-Agent" : f"{ self ._appname } -{ USERAGENT_SUFFIX } /{ __version__ } " ,
7777 }
7878 self ._proxies : Optional [Dict [str , str ]] = _proxy (
79- os .getenv ("HTTP_PROXY" ), os .getenv ("HTTPS_PROXY" )
79+ os .getenv ("HTTP_PROXY" ) or os .getenv ("http_proxy" ),
80+ os .getenv ("HTTPS_PROXY" ) or os .getenv ("https_proxy" ),
8081 )
8182
8283 @result
Original file line number Diff line number Diff line change 2626 __version__ ,
2727)
2828from pytmv1 import core as core_m
29- from pytmv1 import result
29+ from pytmv1 import (
30+ result ,
31+ )
3032from pytmv1 .core import API_VERSION , USERAGENT_SUFFIX , Core
3133from pytmv1 .exception import (
3234 ParseModelError ,
You can’t perform that action at this time.
0 commit comments