pyrefly init fails: failed to deserialize as glob
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 516
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the Bug
reproduction:
```
git clone https://github.com/mosaicml/llm-foundry
uv venv
source .venv/bin/activate
uv pip install pyrefly
```
```
(llm-foundry) kylei@kylei-mbp llm-foundry % pyrefly init
INFO Found an existing type checking configuration - setting up pyrefly ...
Failed to load config from pyproject.toml: TOML parse error at line 68, column 12
|
68 | exclude = ['env-**', 'venv*', '.venv']
| ^^^^^^^^
Failed to deserialize as Glob: While constructing glob pattern from env-**/*
```
pyright section of pyproject.toml:
```
# Pyright
[tool.pyright]
exclude = ['env-**', 'venv*', '.venv']
stubPath = "" # suppress useless 'stubPath is not a valid directory' errors
```
### Sandbox Link
_No response_
### (Only applicable for extension issues) IDE Information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.