-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python Scripts & Updates #32
Commits on Sep 1, 2023
-
Github Workflows + Python Update
Setup GitHub Workflows, added folder and two .yml files, updated Python version.
Configuration menu - View commit details
-
Copy full SHA for 7c6dc6c - Browse repository at this point
Copy the full SHA 7c6dc6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59a6e5f - Browse repository at this point
Copy the full SHA 59a6e5fView commit details -
scripted-diff: test: Use py3.5 bytes::hex() method
-BEGIN VERIFY SCRIPT- sed -i -e "s/def bytes_to_hex_str/def b_2_x/g" $(git grep -l bytes_to_hex_str) export RE_B_0="[^()]*" # match no bracket export RE_B_1="${RE_B_0}\(${RE_B_0}\)${RE_B_0}" # match exactly one () export RE_B_2="${RE_B_0}\(${RE_B_1}\)${RE_B_0}" # match wrapped (()) export RE_M="(b2x|bytes_to_hex_str)\(((${RE_B_0}|${RE_B_1}|${RE_B_2})*)\)" sed -i --regexp-extended -e "s/${RE_M}/\2.hex()/g" $(git grep -l -E '(b2x|bytes_to_hex_str)') sed -i --regexp-extended -e "/ +bytes_to_hex_str( as b2x)?,/d" $(git grep -l bytes_to_hex_str) sed -i --regexp-extended -e "s/ +bytes_to_hex_str( as b2x)?,//g" $(git grep -l bytes_to_hex_str) sed -i --regexp-extended -e "s/, bytes_to_hex_str( as b2x)?//g" $(git grep -l bytes_to_hex_str) export RE_M="(binascii\.)?hexlify\(((${RE_B_0}|${RE_B_1}|${RE_B_2})*)\).decode\(${RE_B_0}\)" sed -i --regexp-extended -e "s/${RE_M}/\2.hex()/g" $(git grep -l hexlify -- ':(exclude)share') sed -i --regexp-extended -e "/from binascii import hexlify$/d" $(git grep -l hexlify -- ':(exclude)share') sed -i --regexp-extended -e "s/(from binascii import) .*hexlify/\1 unhexlify/g" $(git grep -l hexlify -- ':(exclude)share') sed -i -e 's/ignore-names "/ignore-names "b_2_x,/g' ./test/lint/lint-python-dead-code.sh -END VERIFY SCRIPT-
Configuration menu - View commit details
-
Copy full SHA for 3e289f8 - Browse repository at this point
Copy the full SHA 3e289f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4d858d - Browse repository at this point
Copy the full SHA c4d858dView commit details -
scripts: clean github-merge.py and symbol-check.py
clean both files to adhere to flake8 standards.
Configuration menu - View commit details
-
Copy full SHA for bc09af5 - Browse repository at this point
Copy the full SHA bc09af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a61e9 - Browse repository at this point
Copy the full SHA a5a61e9View commit details -
scripted-diff: test: Remove brackets after assert
-BEGIN VERIFY SCRIPT- sed -i --regexp-extended -e 's/assert ?\((.+)\)(( )*)?(#.*)?$/assert \1\3\3\4/g' $(git grep -l --extended-regexp 'assert ?\(' test) -END VERIFY SCRIPT-
Configuration menu - View commit details
-
Copy full SHA for 2c762d0 - Browse repository at this point
Copy the full SHA 2c762d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe26109 - Browse repository at this point
Copy the full SHA fe26109View commit details -
scripts: exclude wallet_bumpfee.py from linting
currently unsupported test
Configuration menu - View commit details
-
Copy full SHA for d138a35 - Browse repository at this point
Copy the full SHA d138a35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93a8ddd - Browse repository at this point
Copy the full SHA 93a8dddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cbd42f - Browse repository at this point
Copy the full SHA 4cbd42fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 667e40a - Browse repository at this point
Copy the full SHA 667e40aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 668bdf3 - Browse repository at this point
Copy the full SHA 668bdf3View commit details
Commits on Sep 2, 2023
-
Strictly enforce instance attrs in critical functional test classes.
Additionally, removed redundant parentheses and added PEP-8 compliant spacing around those classes.
Configuration menu - View commit details
-
Copy full SHA for bbc83cf - Browse repository at this point
Copy the full SHA bbc83cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd61a9f - Browse repository at this point
Copy the full SHA cd61a9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 197cb61 - Browse repository at this point
Copy the full SHA 197cb61View commit details