Skip to content

Commit b5e44db

Browse files
authored
chore: remove unused scripts for linting and update docs (#1663)
1 parent 30783da commit b5e44db

File tree

4 files changed

+7
-68
lines changed

4 files changed

+7
-68
lines changed

docs/run-tests-locally.asciidoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://github.com/elastic/apm-agent-python/blob/main/Jenkinsfile[Jenkins Config
99
[float]
1010
[[pre-commit]]
1111
==== Pre Commit
12-
We run our git hooks on every commit to automatically point out issues in code. Those issues are also detected within the Jenkins pipeline.
12+
We run our git hooks on every commit to automatically point out issues in code. Those issues are also detected within the GitHub actions.
1313
Please follow the installation steps stated in https://pre-commit.com/#install.
1414

1515
[float]
@@ -19,12 +19,12 @@ We run two code linters `isort` and `flake8`. You can trigger each single one lo
1919

2020
[source,bash]
2121
----
22-
$ ./tests/scripts/docker/isort.sh <pip-cache-dir>
22+
$ pre-commit run -a isort
2323
----
2424

2525
[source,bash]
2626
----
27-
$ ./tests/scripts/docker/flake8.sh <pip-cache-dir>
27+
$ pre-commit run -a flake8
2828
----
2929

3030
[float]
@@ -34,7 +34,7 @@ We test that the code is formatted using `black`. You can trigger this check by
3434

3535
[source,bash]
3636
----
37-
$ ./tests/scripts/docker/black.sh <pip-cache-dir>
37+
$ pre-commit run -a black
3838
----
3939

4040
[float]
@@ -72,5 +72,7 @@ checkout, you might do something like this:
7272

7373
[source,bash]
7474
----
75-
$ ./scripts/compose.py start 7.3 --with-agent-python-django --with-opbeans-python --opbeans-python-agent-local-repo=~/elastic/apm-agent-python
75+
$ ./scripts/compose.py start 7.3 \
76+
--with-agent-python-django --with-opbeans-python \
77+
--opbeans-python-agent-local-repo=~/elastic/apm-agent-python
7678
----

tests/scripts/docker/black.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

tests/scripts/docker/flake8.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

tests/scripts/docker/isort.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)