FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
stream-python/Makefile at main · GetStream/stream-python · GitHub
GetStream
stream-python
Repository navigation
Code
Issues
2
(2)
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
stream-python
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (19 loc) · 883 Bytes
Breadcrumbs
stream-python
/
Makefile
Copy path
File metadata and controls
26 lines (19 loc) · 883 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
STREAM_KEY
?= NOT_EXIST
STREAM_SECRET
?= NOT_EXIST
#
These targets are not files
.PHONY
: help check test lint lint-fix
help
:
#
# Display this help message
@echo
"
Please use
\`
make <target>
\`
where <target> is one of
"
@grep -E
'
^[a-zA-Z_-]+:.*?## .*$$
'
$(
MAKEFILE_LIST
)
|
sort
|
awk
'
BEGIN {FS = ":.*?## "}; \
{printf
"
\033[36m%-40s\033[0m %s\n
"
,
$$
1,
$$
2}
'
lint
:
#
# Run linters
black --check stream
flake8 --ignore=E501,E225,W293,W503,F401 stream
lint-fix
:
black stream
test
:
#
# Run tests
STREAM_KEY=
$(
STREAM_KEY
)
STREAM_SECRET=
$(
STREAM_SECRET
)
pytest stream/tests
check
: lint test
#
# Run linters + tests
reviewdog
:
black --check --diff --quiet stream
|
reviewdog -f=diff -f.diff.strip=0 -filter-mode=
"
diff_context
"
-name=black -reporter=github-pr-review
flake8 --ignore=E501,W503,E225,W293,F401 stream
|
reviewdog -f=flake8 -name=flake8 -reporter=github-pr-review
Back
|
FazBrowse Home
|
New Git URL