Skip to content

Commit

Permalink
Remove pyright from precommit (temporarily?)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedTachyon committed Jan 22, 2024
1 parent 90e8ead commit 16e315b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ repos:
rev: 5.12.0
hooks:
- id: isort
- repo: local
hooks:
- id: pyright
name: pyright
entry: pyright
language: node
pass_filenames: false
types: [python]
additional_dependencies: ["pyright"]
args:
- --project=pyproject.toml
# - repo: local
# hooks:
# - id: pyright
# name: pyright
# entry: pyright
# language: node
# pass_filenames: false
# types: [python]
# additional_dependencies: ["pyright"]
# args:
# - --project=pyproject.toml
7 changes: 1 addition & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,10 @@ pythonVersion = "3.10"
pythonPlatform = "All"
enableTypeIgnoreComments = true

# This is required as the CI pre-commit does not download the module (i.e. numpy, pygame, box2d)
# Therefore, we have to ignore missing imports
reportMissingImports = "none"
# Some modules are missing type stubs, which is an issue when running pyright locally
reportMissingTypeStubs = false
# For warning and error, will raise an error when
reportInvalidTypeVarUse = "none"


reportMissingModuleSource = "none"
reportPrivateUsage = "warning"
reportUnboundVariable = "warning"

Expand Down

0 comments on commit 16e315b

Please sign in to comment.