Skip to content

Commit

Permalink
start python project
Browse files Browse the repository at this point in the history
  • Loading branch information
nebfield committed Mar 26, 2024
1 parent 212d1e8 commit 250338b
Show file tree
Hide file tree
Showing 35 changed files with 391 additions and 3,531 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pyright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Pyright type checking
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: jakebailey/pyright-action@v2
with:
version: 1.1.355
15 changes: 15 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Ruff linting
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1

pyright:
runs-on: ubuntu-latest
steps:
- uses: jakebailey/pyright-action@v2
with:
version: 1.1.355
48 changes: 0 additions & 48 deletions .github/workflows/rust.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.3.4
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.355
hooks:
- id: pyright
Loading

0 comments on commit 250338b

Please sign in to comment.