From 5cba9b4d0cfc3941e9dad933f7f06816bf9b3938 Mon Sep 17 00:00:00 2001 From: Avasam Date: Wed, 2 Oct 2024 15:58:46 -0400 Subject: [PATCH] misc setup updates --- .github/workflows/lint-and-build.yml | 1 + .pre-commit-config.yaml | 2 +- docs/build instructions.md | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-and-build.yml b/.github/workflows/lint-and-build.yml index 9b1b9353..d7520a6d 100644 --- a/.github/workflows/lint-and-build.yml +++ b/.github/workflows/lint-and-build.yml @@ -89,6 +89,7 @@ jobs: uses: jakebailey/pyright-action@v2 with: version: ${{ steps.pyright_version.outputs.PYRIGHT_VERSION }} + extra-args: --threads working-directory: src/ python-version: ${{ matrix.python-version }} Build: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc37adec..4d5696c7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,4 +27,4 @@ repos: ci: autoupdate_branch: dev - autoupdate_schedule: monthly + autoupdate_schedule: quarterly diff --git a/docs/build instructions.md b/docs/build instructions.md index 55f22a76..3643b81e 100644 --- a/docs/build instructions.md +++ b/docs/build instructions.md @@ -16,7 +16,8 @@ - [Python](https://www.python.org/downloads/) 3.10+. - [Node](https://nodejs.org) is optional, but required for complete linting. - Alternatively you can install the [pyright python wrapper](https://pypi.org/project/pyright/) which has a bit of an overhead delay. -- [PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell) is used to run all the scripts +- [PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell) is used to run all the scripts. + - This is needed even for Windows, as the bundled PowerShell 5.1 is too old. - [VSCode](https://code.visualstudio.com/Download) is not required, but highly recommended. - Everything already configured in the workspace, including Run (F5) and Build (Ctrl+Shift+B) commands, default shell, and recommended extensions. - [PyCharm](https://www.jetbrains.com/pycharm/) is also a good Python IDE, but nothing is configured. If you are a PyCharm user, feel free to open a PR with all necessary workspace configurations!