Skip to content

#128 Add BIP44 tests for Nimiq #55

#128 Add BIP44 tests for Nimiq

#128 Add BIP44 tests for Nimiq #55

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@v4
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 .