Fix deprecation of CW utils bytearray (#332) #955
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mypy | |
on: | |
push: | |
paths: | |
- '**/*.py' | |
- 'mypy.ini' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
merge_group: | |
jobs: | |
mypy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Installing package | |
run: | | |
pip install --require-hashes --no-deps -r requirements.txt | |
pip install --upgrade -r test_requirements.txt | |
- name: Register matcher | |
run: echo ::add-matcher::./.github/python_matcher.json | |
- name: Running mypy | |
run: | | |
mkdir -p .mypy_cache | |
mypy --no-color-output --install-types --non-interactive scaaml |