Fix formatting #338
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: 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@v3 | |
- name: Setup Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
architecture: x64 | |
- run: | | |
pip install bandit black codespell safety pylint==2.15.2 packaging==22 ruff==0.0.243 | |
pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil types-setuptools types-six | |
pip install financedatabase pandas yfinance ta fundamentalanalysis matplotlib | |
- run: black --diff --check . | |
- run: codespell | |
- run: ruff financedatabase | |
- run: pylint financedatabase | |
markdown-link-check: | |
name: Markdown Linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Check out the code | |
- name: Lint Code Base | |
uses: docker://avtodev/markdown-lint:v1 |