Write patch extraction metadata directly to STAC API #547
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: Lint | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
name: "Lint: code quality and formatting checks" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v2 | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
cache: 'pip' | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install isort black==24.3.0 ruff==0.5.0 mypy==1.11.2 types-requests~=2.32.0 | |
- name: isort | |
run: python -m isort . --check --diff | |
- name: black | |
run: python -m black --check --diff . | |
- name: ruff | |
run: ruff check . | |
- name: mypy | |
run: python -m mypy . |