Skip to content

Adding typing to process_receipts via process_receipts_typed. Version bump to v0.0.41 #359

Adding typing to process_receipts via process_receipts_typed. Version bump to v0.0.41

Adding typing to process_receipts via process_receipts_typed. Version bump to v0.0.41 #359

Workflow file for this run

name: static
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: static
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{github.token}}
- name: set up python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
token: ${{github.token}}
- name: upgrade pip
run: python -m pip install --upgrade pip
- name: install requirements
run: |
python -m pip install --upgrade .[test]
- name: get all Python files
id: list_files
run: |
echo "files=$(git ls-files '*.py' '*.pyi' | grep -v '^snapshots/' | xargs)" >> $GITHUB_OUTPUT
- name: run Pyright on files
run: |
files="${{ steps.list_files.outputs.files }}"
if [ -n "$files" ]; then
pyright $files
else
echo "No Python files found."
fi