Add more type hints #285
Workflow file for this run
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: Clang Static Analysis | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '3 15 * * SUN' | |
jobs: | |
clang-analyzer: | |
name: Clang Static Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install libmaxminddb | |
run: sudo apt install clang-tools libmaxminddb-dev | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install setuptools | |
- name: Build and run analyzer | |
run: CFLAGS="-Werror -Wall -Wextra" scan-build --status-bugs python setup.py build |