@@ -5,13 +5,11 @@ VENV_PATH = .venv
5
5
help :
6
6
@echo " Thanks for your interest in the Sentry Python SDK!"
7
7
@echo
8
- @echo " make lint: Run linters"
9
- @echo " make test: Run basic tests (not testing most integrations)"
10
- @echo " make test-all: Run ALL tests (slow, closest to CI)"
11
- @echo " make format: Run code formatters (destructive)"
8
+ @echo " make apidocs: Build the API documentation"
12
9
@echo " make aws-lambda-layer: Build AWS Lambda layer directory for serverless integration"
13
10
@echo
14
11
@echo " Also make sure to read ./CONTRIBUTING.md"
12
+ @echo
15
13
@false
16
14
17
15
.venv :
@@ -24,42 +22,13 @@ dist: .venv
24
22
$(VENV_PATH ) /bin/python setup.py sdist bdist_wheel
25
23
.PHONY : dist
26
24
27
- format : .venv
28
- $(VENV_PATH ) /bin/tox -e linters --notest
29
- .tox/linters/bin/black .
30
- .PHONY : format
31
-
32
- test : .venv
33
- @$(VENV_PATH ) /bin/tox -e py3.12
34
- .PHONY : test
35
-
36
- test-all : .venv
37
- @TOXPATH=$(VENV_PATH ) /bin/tox sh ./scripts/runtox.sh
38
- .PHONY : test-all
39
-
40
- check : lint test
41
- .PHONY : check
42
-
43
- lint : .venv
44
- @set -e && $(VENV_PATH ) /bin/tox -e linters || ( \
45
- echo " ================================" ; \
46
- echo " Bad formatting? Run: make format" ; \
47
- echo " ================================" ; \
48
- false)
49
- .PHONY : lint
50
-
51
25
apidocs : .venv
52
26
@$(VENV_PATH ) /bin/pip install --editable .
53
27
@$(VENV_PATH ) /bin/pip install -U -r ./requirements-docs.txt
54
28
rm -rf docs/_build
55
29
@$(VENV_PATH ) /bin/sphinx-build -vv -W -b html docs/ docs/_build
56
30
.PHONY : apidocs
57
31
58
- apidocs-hotfix : apidocs
59
- @$(VENV_PATH ) /bin/pip install ghp-import
60
- @$(VENV_PATH ) /bin/ghp-import -pf docs/_build
61
- .PHONY : apidocs-hotfix
62
-
63
32
aws-lambda-layer : dist
64
33
$(VENV_PATH ) /bin/pip install -r requirements-aws-lambda-layer.txt
65
34
$(VENV_PATH ) /bin/python -m scripts.build_aws_lambda_layer
0 commit comments