Skip to content

Commit 50f2c98

Browse files
committed
Merge branch 'master' into connection-pool-fix
2 parents 20f62da + 70b4f48 commit 50f2c98

File tree

273 files changed

+34613
-12600
lines changed

Some content is hidden

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

273 files changed

+34613
-12600
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
**/__pycache__
22
**/*.pyc
3-
.tox
43
.coverage
54
.coverage.*

.flake8

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[flake8]
2+
max-line-length = 88
3+
exclude =
4+
*.egg-info,
5+
*.pyc,
6+
.git,
7+
.venv*,
8+
build,
9+
docs/*,
10+
dist,
11+
docker,
12+
venv*,
13+
.venv*,
14+
whitelist.py,
15+
tasks.py
16+
ignore =
17+
E126
18+
E203
19+
E701
20+
E704
21+
F405
22+
N801
23+
N802
24+
N803
25+
N806
26+
N815
27+
W503

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
doctests/* @dmaier-redislabs

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
_Please make sure to review and check all of these items:_
44

5-
- [ ] Does `$ tox` pass with this change (including linting)?
5+
- [ ] Do tests and lints pass with this change?
66
- [ ] Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
77
- [ ] Is the new or changed code fully tested?
88
- [ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
labels:
6+
- "maintenance"
7+
schedule:
8+
interval: "monthly"

.github/release-drafter-config.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
name-template: 'Version $NEXT_PATCH_VERSION'
2-
tag-template: 'v$NEXT_PATCH_VERSION'
1+
name-template: '$NEXT_MINOR_VERSION'
2+
tag-template: 'v$NEXT_MINOR_VERSION'
3+
filter-by-commitish: true
4+
commitish: master
35
autolabeler:
46
- label: 'maintenance'
57
files:
@@ -18,6 +20,9 @@ categories:
1820
- title: '🔥 Breaking Changes'
1921
labels:
2022
- 'breakingchange'
23+
- title: '🧪 Experimental Features'
24+
labels:
25+
- 'experimental'
2126
- title: '🚀 New Features'
2227
labels:
2328
- 'feature'
@@ -27,13 +32,19 @@ categories:
2732
- 'fix'
2833
- 'bugfix'
2934
- 'bug'
35+
- 'BUG'
3036
- title: '🧰 Maintenance'
31-
label: 'maintenance'
37+
labels:
38+
- 'maintenance'
39+
- 'dependencies'
40+
- 'documentation'
41+
- 'docs'
42+
- 'testing'
3243
change-template: '- $TITLE (#$NUMBER)'
3344
exclude-labels:
3445
- 'skip-changelog'
3546
template: |
36-
## Changes
47+
# Changes
3748
3849
$CHANGES
3950

.github/spellcheck-settings.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
matrix:
2+
- name: Markdown
3+
expect_match: false
4+
apsell:
5+
lang: en
6+
d: en_US
7+
ignore-case: true
8+
dictionary:
9+
wordlists:
10+
- .github/wordlist.txt
11+
output: wordlist.dic
12+
pipeline:
13+
- pyspelling.filters.markdown:
14+
markdown_extensions:
15+
- markdown.extensions.extra:
16+
- pyspelling.filters.html:
17+
comments: false
18+
attributes:
19+
- alt
20+
ignores:
21+
- ':matches(code, pre)'
22+
- code
23+
- pre
24+
- blockquote
25+
- img
26+
sources:
27+
- '*.md'
28+
- 'docs/*.rst'
29+
- 'docs/*.ipynb'

.github/wordlist.txt

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
APM
2+
ARGV
3+
BFCommands
4+
CFCommands
5+
CMSCommands
6+
ClusterNode
7+
ClusterNodes
8+
ClusterPipeline
9+
ClusterPubSub
10+
ConnectionPool
11+
CoreCommands
12+
EVAL
13+
EVALSHA
14+
GraphCommands
15+
Grokzen's
16+
INCR
17+
IOError
18+
Instrumentations
19+
JSONCommands
20+
Jaeger
21+
Ludovico
22+
Magnocavallo
23+
McCurdy
24+
NOSCRIPT
25+
NUMPAT
26+
NUMPT
27+
NUMSUB
28+
OSS
29+
OpenCensus
30+
OpenTelemetry
31+
OpenTracing
32+
Otel
33+
PubSub
34+
READONLY
35+
RediSearch
36+
RedisBloom
37+
RedisCluster
38+
RedisClusterCommands
39+
RedisClusterException
40+
RedisClusters
41+
RedisGraph
42+
RedisInstrumentor
43+
RedisJSON
44+
RedisTimeSeries
45+
SHA
46+
SearchCommands
47+
SentinelCommands
48+
SentinelConnectionPool
49+
Sharded
50+
Solovyov
51+
SpanKind
52+
Specfiying
53+
StatusCode
54+
TCP
55+
TOPKCommands
56+
TimeSeriesCommands
57+
Uptrace
58+
ValueError
59+
WATCHed
60+
WatchError
61+
api
62+
args
63+
async
64+
asyncio
65+
autoclass
66+
automodule
67+
backoff
68+
bdb
69+
behaviour
70+
bool
71+
boolean
72+
booleans
73+
bysource
74+
charset
75+
del
76+
dev
77+
docstring
78+
docstrings
79+
eg
80+
exc
81+
firsttimersonly
82+
fo
83+
genindex
84+
gmail
85+
hiredis
86+
http
87+
idx
88+
iff
89+
ini
90+
json
91+
keyslot
92+
keyspace
93+
kwarg
94+
linters
95+
localhost
96+
lua
97+
makeapullrequest
98+
maxdepth
99+
mget
100+
microservice
101+
microservices
102+
mset
103+
multikey
104+
mykey
105+
nonatomic
106+
observability
107+
opentelemetry
108+
oss
109+
performant
110+
pmessage
111+
png
112+
pre
113+
psubscribe
114+
pubsub
115+
punsubscribe
116+
py
117+
pypi
118+
quickstart
119+
readonly
120+
readwrite
121+
redis
122+
redismodules
123+
reinitialization
124+
replicaof
125+
repo
126+
runtime
127+
sedrik
128+
sharded
129+
ssl
130+
str
131+
stunnel
132+
subcommands
133+
thevalueofmykey
134+
timeseries
135+
toctree
136+
topk
137+
triaging
138+
txt
139+
un
140+
unicode
141+
url
142+
virtualenv
143+
www

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v4
4040

4141
# Initializes the CodeQL tools for scanning.
4242
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@v1
43+
uses: github/codeql-action/init@v3
4444
with:
4545
languages: ${{ matrix.language }}
4646
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -51,7 +51,7 @@ jobs:
5151
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5252
# If this step fails, then you should remove it and run the build manually (see below)
5353
- name: Autobuild
54-
uses: github/codeql-action/autobuild@v1
54+
uses: github/codeql-action/autobuild@v3
5555

5656
# ℹ️ Command-line programs to run using the OS shell.
5757
# 📚 https://git.io/JvXDl
@@ -65,4 +65,4 @@ jobs:
6565
# make release
6666

6767
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@v1
68+
uses: github/codeql-action/analyze@v3

.github/workflows/docs.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Docs CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- '[0-9].[0-9]'
8+
pull_request:
9+
branches:
10+
- master
11+
- '[0-9].[0-9]'
12+
schedule:
13+
- cron: '0 1 * * *' # nightly build
14+
15+
concurrency:
16+
group: ${{ github.event.pull_request.number || github.ref }}-docs
17+
cancel-in-progress: true
18+
19+
permissions:
20+
contents: read # to fetch code (actions/checkout)
21+
22+
jobs:
23+
24+
build-docs:
25+
name: Build docs
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: actions/setup-python@v5
30+
with:
31+
python-version: 3.9
32+
cache: 'pip'
33+
- name: install deps
34+
run: |
35+
sudo apt-get update -yqq
36+
sudo apt-get install -yqq pandoc make
37+
- name: run code linters
38+
run: |
39+
pip install -r requirements.txt -r dev_requirements.txt -r docs/requirements.txt
40+
invoke build-docs
41+
42+
- name: upload docs
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: redis-py-docs
46+
path: |
47+
docs/_build/html

0 commit comments

Comments
 (0)