Update Visa list, add Amex and Mastercard lists, fixes (unicode characters, private ranges), get_all_mccs_dict utility function #14
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: Linting | |
on: | |
push: | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: | |
- master | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install poetry | |
run: curl -sSL https://install.python-poetry.org | python3 - | |
env: | |
POETRY_VERSION: "1.4.2" | |
- name: Install package | |
run: poetry install --with dev | |
- name: Run pre-commit | |
run: poetry run pre-commit run --all-files --show-diff-on-failure |