Replace legacy validator with schema validator #300
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: Linters | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up environment | |
uses: actions/checkout@v4 | |
with: # no need for the history | |
fetch-depth: 1 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
pip install flake8 flake8-absolute-import flake8-black flake8-docstrings \ | |
flake8-isort flake8-pyproject flake8-unused-arguments \ | |
flake8-use-fstring pep8-naming \ | |
codespell tomli | |
- name: Run linters | |
run: python -m flake8 cubids |