Skip to content

#125 Update Aptos address encoding #45

#125 Update Aptos address encoding

#125 Update Aptos address encoding #45

Workflow file for this run

# This workflow will install Python dependencies and run code analysis tools
name: Code Analysis
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
code_analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run code analysis
run: |
# Run isort
isort --check-only --diff .
# Run flake8
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# Run mypy
mypy .
# Run prospector
prospector .