-
Notifications
You must be signed in to change notification settings - Fork 11
Feature/250 add pyright #256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
isabelizimm
merged 18 commits into
rstudio:main
from
nathanjmcdougall:feature/250-add-pyright
Jul 25, 2024
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
0e0ee92
Add a new `check` extra including `pyright` and `pre-commit`.
nathanjmcdougall 4ec2841
Configure pyright to run in CI.
nathanjmcdougall a3253cc
Use pyright action v2
nathanjmcdougall 0a6061b
Install dependencies before running pyright.
nathanjmcdougall 4762898
Fix sync error.
nathanjmcdougall 2105df0
Revert unnecessary bumps in dev.txt
nathanjmcdougall e6189d4
Ignore the tests folder correctly.
nathanjmcdougall 986a98b
Add appdirs stubs
nathanjmcdougall ebd603e
Re-enable reportUnusedExpression
nathanjmcdougall de4646a
Add triaging comments for rule disables
nathanjmcdougall e2a0641
Revert unnecessary project.toml formatting change
nathanjmcdougall 8e34560
Revert unnecessary indentation in dev.txt
nathanjmcdougall 70f3742
Merge branch 'main' into feature/250-add-pyright
isabelizimm bbeb3dc
Update pyproject.toml
nathanjmcdougall 839f558
Move pyright comments to a tracking issue.
nathanjmcdougall 39b227b
Revert removal of config sections in pyproject.toml.
nathanjmcdougall 09c2b1d
Merge branch 'main' into dev-feature-250-add-pyright
isabelizimm 180c2bf
add check deps into toml
isabelizimm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -16,3 +16,20 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- uses: pre-commit/[email protected] | ||
|
||
pyright: | ||
name: "Run Pyright" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.12 # Use the maximum version supported by python-pins | ||
- name: Install dependencies | ||
shell: bash | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -e .[check] | ||
- uses: jakebailey/pyright-action@v2 | ||
with: | ||
version: 1.1.372 # Manually sync with setup.cfg |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.