Skip to content

Commit 1246813

Browse files
committed
Replace pyre with pyrefly
1 parent c4393e1 commit 1246813

3 files changed

Lines changed: 24 additions & 249 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ repos:
5050
entry: uv run ruff check .
5151
pass_filenames: false
5252

53-
- id: pyre
54-
name: Static types checking with pyre
55-
stages: [push]
56-
language: system
57-
entry: uv run pyre
58-
pass_filenames: false
53+
# TODO Fix issues
54+
# - id: pyrefly
55+
# name: Static types checking with pyrefly
56+
# stages: [push]
57+
# language: system
58+
# entry: uv run pyrefly check
59+
# pass_filenames: false

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dev = [
5050
"pyglet>=2.0.20",
5151
"pylint>=3.3.2",
5252
# Type checker
53-
"pyre-check>=0.9.23",
53+
"pyrefly>=0.21.0",
5454
"pytest>=8.3.4",
5555
"pytest-asyncio>=0.25.0",
5656
"pytest-benchmark>=5.1.0",
@@ -86,6 +86,9 @@ split_arguments_when_comma_terminated = true
8686
dedent_closing_brackets = true
8787
allow_split_before_dict_value = false
8888

89+
[tool.pyrefly]
90+
project_includes = ["sc2", "examples", "test"]
91+
8992
[tool.ruff]
9093
target-version = 'py310'
9194
line-length = 120

0 commit comments

Comments
 (0)