Skip to content

Commit

Permalink
pyright conf
Browse files Browse the repository at this point in the history
  • Loading branch information
copdips committed Sep 26, 2023
1 parent 48bde42 commit 91137a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _posts/2021/2021-01-04-python-lint-and-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,18 @@ pyproject.toml:
```toml
[tool.pyright]
reportUnnecessaryTypeIgnoreComment = true
include = []
exclude = []
```

running pyright:

```bash
# scan pathes specified in pyproject.toml include, exclude
pyright
# scan current folder and subfolders in spite of pyproject.toml include, exclude
pyright .
```

### mypy
Expand Down

0 comments on commit 91137a4

Please sign in to comment.