This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
refactor: StatData -> DataGen at base module level #10
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 | |
- 'feature/**' | |
paths: [ 'src/**.py', 'tests/**.py' ] | |
pull_request: | |
branches: | |
- main | |
- 'feature/**' | |
paths: [ 'src/**.py', 'tests/**.py' ] | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python & Dependencies | |
uses: packetcoders/action-setup-cache-python-poetry@main | |
with: | |
python-version: 3.12.1 | |
poetry-version: 1.8.2 | |
- name: Run Linters | |
run: | | |
poetry install --only-root | |
poetry run ruff check --fix src | |
poetry run pylint src | |
poetry run mypy src | |
poetry run black src |