Enrich FIGI via OpenFIGI, add 709 tickers (#119), fix README stats workflow #531
Workflow file for this run
This file contains hidden or 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: General Linting | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, edited] | |
| push: | |
| branches: | |
| - 'main' | |
| jobs: | |
| code-linting: | |
| name: General Code Linting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| architecture: x64 | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| version: latest | |
| virtualenvs-create: true | |
| virtualenvs-in-project: true | |
| - name: Load cached venv | |
| id: cached-poetry-dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: .venv | |
| key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} | |
| - name: Install dependencies | |
| if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | |
| run: poetry install --no-interaction | |
| - name: Run black | |
| run: poetry run black --diff --check . | |
| - name: Run ruff | |
| run: poetry run ruff check financedatabase | |
| - name: Run pylint | |
| run: poetry run pylint financedatabase | |
| markdown-link-check: | |
| name: Markdown Linting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| name: Check out the code | |
| - name: Lint Code Base | |
| uses: docker://avtodev/markdown-lint:v1 |