Skip to content

Commit e5a8f5a

Browse files
authored
Merge branch '0.6.0' into docs/middlewares-updated
2 parents 5749bcb + 5a6eff5 commit e5a8f5a

File tree

839 files changed

+10414
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

839 files changed

+10414
-148
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ venv
44
venv*
55
.venv*
66
venv/
7-
.venv/
7+
.venv/

.github/workflows/pr_tests.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
pre-commit-check:
2525
if: github.event.pull_request.draft == false
2626
runs-on: ubuntu-latest
27-
env:
28-
SKIP: "docs"
2927
steps:
3028
- uses: actions/checkout@v4
3129
- uses: actions/setup-python@v5
@@ -295,7 +293,7 @@ jobs:
295293
uv pip install --system --group test-core ".[cli,rabbit]"
296294
- name: Test
297295
run: >
298-
coverage run -m pytest
296+
coverage run -m pytest
299297
-vv -m "not rabbit"
300298
tests/brokers/rabbit/test_test_client.py
301299

.pre-commit-config.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,31 +36,23 @@ repos:
3636
- id: lint
3737
name: Linter
3838
stages: [pre-commit, pre-merge-commit, manual]
39-
entry: "scripts/lint-pre-commit.sh"
39+
entry: just linter
4040
language: python
4141
types: [python]
4242
require_serial: true
4343
verbose: true
44+
pass_filenames: false
4445

4546
- repo: local
4647
hooks:
4748
- id: static-analysis
4849
name: Static analysis
49-
entry: "scripts/static-pre-commit.sh"
50+
entry: just static-analysis
5051
language: python
5152
types: [python]
5253
require_serial: true
5354
verbose: true
54-
55-
- repo: local
56-
hooks:
57-
- id: docs
58-
name: Build docs
59-
entry: "scripts/build-docs-pre-commit.sh"
60-
language: python
61-
files: ^docs
62-
require_serial: true
63-
verbose: true
55+
pass_filenames: false
6456

6557
- repo: https://github.com/Yelp/detect-secrets
6658
rev: v1.5.0

CONTRIBUTING.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,22 @@ After cloning the project, you'll need to set up the development environment. He
88

99
Install justfile on your system:
1010

11-
```bash
12-
brew install justfile
13-
```
11+
https://just.systems/man/en/prerequisites.html
1412

1513
View all available commands:
1614

1715
```bash
1816
just
1917
```
2018

19+
## Install uv
20+
21+
Install uv on your system:
22+
23+
https://docs.astral.sh/uv/getting-started/installation/
2124
## Init development environment
2225

23-
Build faststream image:
26+
Build faststream image and install all dependencies:
2427

2528
```bash
2629
just init
@@ -159,3 +162,11 @@ Run docs:
159162
```bash
160163
just docs-serve
161164
```
165+
166+
## Pre-commit
167+
168+
Run pre-commit:
169+
170+
```bash
171+
just pre-commit
172+
```

docs/docs/SUMMARY.md

Lines changed: 1269 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
# 0.5 - API
3+
# 2 - Release
4+
# 3 - Contributing
5+
# 5 - Template Page
6+
# 10 - Default
7+
search:
8+
boost: 0.5
9+
---
10+
11+
::: faststream.AckPolicy
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
# 0.5 - API
3+
# 2 - Release
4+
# 3 - Contributing
5+
# 5 - Template Page
6+
# 10 - Default
7+
search:
8+
boost: 0.5
9+
---
10+
11+
::: faststream.BaseMiddleware
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
# 0.5 - API
3+
# 2 - Release
4+
# 3 - Contributing
5+
# 5 - Template Page
6+
# 10 - Default
7+
search:
8+
boost: 0.5
9+
---
10+
11+
::: faststream.Context
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
# 0.5 - API
3+
# 2 - Release
4+
# 3 - Contributing
5+
# 5 - Template Page
6+
# 10 - Default
7+
search:
8+
boost: 0.5
9+
---
10+
11+
::: fast_depends.use.Depends
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
# 0.5 - API
3+
# 2 - Release
4+
# 3 - Contributing
5+
# 5 - Template Page
6+
# 10 - Default
7+
search:
8+
boost: 0.5
9+
---
10+
11+
::: faststream.ExceptionMiddleware

0 commit comments

Comments
 (0)