Skip to content

deprecate message_type in favor of message_types #228

deprecate message_type in favor of message_types

deprecate message_type in favor of message_types #228

Workflow file for this run

name: Test code quality
on: push
jobs:
code-quality:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Workaround github issue https://github.com/actions/runner-images/issues/7192
run: sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc
- name: Install required system packages only for Ubuntu Linux
run: |
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y libsecp256k1-dev
- name: Install required Python packages
run: |
python3 -m pip install -e .[testing,ethereum]
- name: Test with Black
run: |
black --check ./src/ ./tests/ ./examples/
- name: Test with isort
run: |
isort --check-only ./src/ ./tests/ ./examples/
- name: Test with MyPy
run: |
mypy --config-file ./mypy.ini ./src/ ./tests/ ./examples/
- name: Test with flake8
run: |
flake8 ./src/ ./tests/ ./examples/