Skip to content
Merged
9 changes: 7 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.x
python-version-file: "pyproject.toml"

- name: Install pnpm
uses: pnpm/action-setup@v4
Expand All @@ -51,3 +51,8 @@ jobs:
- name: Auto-fix pre-commit issues
uses: pre-commit-ci/lite-action@v1.0.2
if: always()

- name: Pyright
uses: jakebailey/pyright-action@v3
with:
pylance-version: latest-release
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[project]
name = "cursorless"
version = "0.1.0"
requires-python = "==3.13.*"

[tool.ruff]
target-version = "py313"
extend-exclude = ["vendor", "data/playground/**/*.py"]
Expand All @@ -7,6 +12,7 @@ select = ["E", "F", "C4", "I001", "UP", "SIM", "FLY"]
ignore = ["E501", "SIM105", "UP007", "UP035", "UP045"]

[tool.pyright]
pythonVersion = "3.13"
reportSelfClsParameterName = false
reportMissingModuleSource = false
reportMissingImports = false
Expand Down
Loading