Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@ If you prefer, you can also use [`uvx`](https://docs.astral.sh/uv/) to run
$ uvx tox -e reformat # also applies to other examples, e.g., uvx tox --recreate
```

### Pyright checks

Run the Pyright checks locally with:

```bash
$ tox -e pyright_tests
```

This environment checks the end-to-end test server, typing regression tests,
and selected WSGI, ASGI, and WebSocket sample applications. It also runs in
GitHub Actions, but is not included in the default local `tox` run. These
checks do not yet cover the entire library.

### Reviews

Falcon is used in a number of mission-critical applications and is known for its stability and reliability. Therefore, we invest a lot of time in carefully reviewing PRs and working with contributors to ensure that every patch merged into the master branch is correct, complete, performant, well-documented, and appropriate.
Expand Down
12 changes: 11 additions & 1 deletion tox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,21 @@ commands = [
]

[env.pyright_tests]
deps = ["pyright"]
deps = [
"pyright",
"uvicorn",
]
commands = [
["python", "tools/clean.py", "falcon"],
["pyright", "e2e-tests/server"],
["pyright", "tests/test_typing.py"],
[
"pyright",
"examples/quote.py",
"examples/things.py",
"examples/things_asgi.py",
"examples/ws_tutorial/ws_tutorial/app.py",
],
]

# --------------------------------------------------------------------
Expand Down
Loading