-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(deps): add uv * chore(deps): add mise * chore: apply ruff format/fix to entire repo * chore: add typos * chore(ci): add github actions for checks * docs: update README with local dev instructions * chore(mise): don't commit mise * chore: fix pyright errors * fix(csv): add back logs
- Loading branch information
1 parent
72c0e4d
commit 4a11a09
Showing
44 changed files
with
3,869 additions
and
453 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "Init Environment" | ||
description: "Initialize environment" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Checkout actions | ||
uses: actions/checkout@v4 | ||
|
||
- id: setup-python | ||
name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install uv | ||
uses: astral-sh/setup-uv@v5 | ||
with: | ||
enable-cache: true | ||
|
||
|
||
- name: Install dependencies | ||
run: uv sync --all-extras --all-groups | ||
shell: bash |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Code Checks | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
merge_group: | ||
types: [checks_requested] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.9"] | ||
steps: | ||
- name: Checkout actions | ||
uses: actions/checkout@v4 | ||
- name: Init environment | ||
uses: ./.github/actions/init-environment | ||
- name: Run formatter | ||
run: uv run ruff format | ||
type-check: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ "3.9" ] | ||
steps: | ||
- name: Checkout actions | ||
uses: actions/checkout@v4 | ||
- name: Init environment | ||
uses: ./.github/actions/init-environment | ||
- name: Run type checker | ||
run: uv run pyright | ||
lint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ "3.9" ] | ||
steps: | ||
- name: Checkout actions | ||
uses: actions/checkout@v4 | ||
- name: Init environment | ||
uses: ./.github/actions/init-environment | ||
- name: Run linter | ||
run: uv run ruff check | ||
spell-check: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ "3.9" ] | ||
steps: | ||
- name: Checkout actions | ||
uses: actions/checkout@v4 | ||
- name: Init environment | ||
uses: ./.github/actions/init-environment | ||
- name: Run linter | ||
run: uv run typos |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,6 @@ | |
|
||
downloaded | ||
output | ||
input | ||
input | ||
|
||
.mise.local.toml |
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
Empty file.
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
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
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
Empty file.
Oops, something went wrong.