Skip to content

Commit 8bb35f9

Browse files
authored
Merge pull request #1663 from mathbunnyru/asalikhov/polish_pycharm
Fix minor wordings (detected by PyCharm)
2 parents 961dc90 + fab0846 commit 8bb35f9

File tree

23 files changed

+56
-54
lines changed

23 files changed

+56
-54
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ repos:
4545
# This doesn't work well with `mypy --follow-imports error`
4646
# See: https://github.com/pre-commit/mirrors-mypy/issues/34#issuecomment-1062160321
4747
#
48-
# To workaround this we run `mypy` only in manual mode
48+
# To work around this we run `mypy` only in manual mode
4949
# So it won't run as part of `git commit` command
5050
# But it will still be run as part of `pre-commit` workflow and give expected results
5151
stages: [manual]

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ maintained stacks.
7272
We value all positive contributions to the Docker stacks project,
7373
from [bug reports](https://jupyter-docker-stacks.readthedocs.io/en/latest/contributing/issues.html)
7474
to [pull requests](https://jupyter-docker-stacks.readthedocs.io/en/latest/contributing/packages.html)
75-
to help answering questions.
75+
to help with answering questions.
7676
We'd also like to invite members of the community to help with two maintainer activities:
7777

7878
- **Issue triaging**: Reading and providing a first response to issues, labeling issues appropriately,
@@ -86,7 +86,7 @@ We will happily grant additional permissions (e.g., ability to merge PRs) to any
8686

8787
## Jupyter Notebook Deprecation Notice
8888

89-
Following [Jupyter Notebook notice](https://github.com/jupyter/notebook#notice), JupyterLab is now the default for all of the Jupyter Docker stack images.
89+
Following [Jupyter Notebook notice](https://github.com/jupyter/notebook#notice), JupyterLab is now the default for all the Jupyter Docker stack images.
9090
It is still possible to switch back to Jupyter Notebook (or to launch a different startup command).
9191
You can achieve this by passing the environment variable `DOCKER_STACKS_JUPYTER_CMD=notebook` (or any other valid `jupyter` subcommand) at container startup,
9292
more information is available in the [documentation](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.html#alternative-commands).
@@ -119,8 +119,8 @@ All published containers support amd64 (x86_64) and aarch64, except for `datasci
119119

120120
### Caveats for arm64 images
121121

122-
- The manifests we publish in this projects wiki as well as the image tags for
123-
the multi platform images that also support arm, are all based on the amd64
122+
- The manifests we publish in this project's wiki as well as the image tags for
123+
the multi-platform images that also support arm, are all based on the amd64
124124
version even though details about the installed packages versions could differ
125125
between architectures. For the status about this, see
126126
[#1401](https://github.com/jupyter/docker-stacks/issues/1401).

all-spark-notebook/README.md

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

77
GitHub Actions in the <https://github.com/jupyter/docker-stacks> project builds and pushes this image to Docker Hub.
88

9-
Please visit the project documentation site for help using and contributing to this image and others.
9+
Please visit the project documentation site for help to use and contribute to this image and others.
1010

1111
- [Jupyter Docker Stacks on ReadTheDocs](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html)
1212
- [Selecting an Image :: Core Stacks :: jupyter/all-spark-notebook](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-all-spark-notebook)

base-notebook/README.md

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

77
GitHub Actions in the <https://github.com/jupyter/docker-stacks> project builds and pushes this image to Docker Hub.
88

9-
Please visit the project documentation site for help using and contributing to this image and others.
9+
Please visit the project documentation site for help to use and contribute to this image and others.
1010

1111
- [Jupyter Docker Stacks on ReadTheDocs](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html)
1212
- [Selecting an Image :: Core Stacks :: jupyter/base-notebook](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-base-notebook)

base-notebook/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if [ "$(id -u)" == 0 ] ; then
7474
# - NB_USER: the desired username and associated home folder
7575
# - NB_UID: the desired user id
7676
# - NB_GID: a group id we want our user to belong to
77-
# - NB_GROUP: the groupname we want for the group
77+
# - NB_GROUP: a group name we want for the group
7878
# - GRANT_SUDO: a boolean ("1" or "yes") to grant the user sudo rights
7979
# - CHOWN_HOME: a boolean ("1" or "yes") to chown the user's home folder
8080
# - CHOWN_EXTRA: a comma separated list of paths to chown

datascience-notebook/README.md

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

77
GitHub Actions in the <https://github.com/jupyter/docker-stacks> project builds and pushes this image to Docker Hub.
88

9-
Please visit the project documentation site for help using and contributing to this image and others.
9+
Please visit the project documentation site for help to use and contribute to this image and others.
1010

1111
- [Jupyter Docker Stacks on ReadTheDocs](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html)
1212
- [Selecting an Image :: Core Stacks :: jupyter/datascience-notebook](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-datascience-notebook)

docs/contributing/packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Package Updates
22

33
As a general rule, we do not pin package versions in our `Dockerfile`s.
4-
The dependencies resolution is a difficult thing to do.
4+
Dependency resolution is a difficult thing to do.
55
This means that packages might have old versions.
66
Images are rebuilt weekly, so usually, packages receive updates quite frequently.
77

docs/using/recipes.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -446,14 +446,14 @@ RUN pip install --quiet --no-cache-dir jupyter_dashboards faker && \
446446
USER root
447447
# Ensure we overwrite the kernel config so that toree connects to cluster
448448
RUN jupyter toree install --sys-prefix --spark_opts="\
449-
--master yarn
450-
--deploy-mode client
451-
--driver-memory 512m
452-
--executor-memory 512m
453-
--executor-cores 1
454-
--driver-java-options
455-
-Dhdp.version=2.5.3.0-37
456-
--conf spark.hadoop.yarn.timeline-service.enabled=false
449+
--master yarn \
450+
--deploy-mode client \
451+
--driver-memory 512m \
452+
--executor-memory 512m \
453+
--executor-cores 1 \
454+
--driver-java-options \
455+
-Dhdp.version=2.5.3.0-37 \
456+
--conf spark.hadoop.yarn.timeline-service.enabled=false \
457457
"
458458
USER ${NB_UID}
459459
```

docs/using/troubleshooting.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -222,18 +222,20 @@ If you have also **created a new user**, you might be experiencing any of the fo
222222
- Use `docker inspect <container_id>` and look for the [`Mounts` section](https://docs.docker.com/storage/volumes/#start-a-container-with-a-volume) to verify that the volume was created and mounted accordingly:
223223

224224
```json
225-
"Mounts": [
226-
{
227-
"Type": "volume",
228-
"Name": "my-vol",
229-
"Source": "/var/lib/docker/volumes/stagingarea/_data",
230-
"Destination": "/home/jovyan/stagingarea",
231-
"Driver": "local",
232-
"Mode": "z",
233-
"RW": true,
234-
"Propagation": ""
235-
}
236-
],
225+
{
226+
"Mounts": [
227+
{
228+
"Type": "volume",
229+
"Name": "my-vol",
230+
"Source": "/var/lib/docker/volumes/stagingarea/_data",
231+
"Destination": "/home/jovyan/stagingarea",
232+
"Driver": "local",
233+
"Mode": "z",
234+
"RW": true,
235+
"Propagation": ""
236+
}
237+
]
238+
}
237239
```
238240

239241
## Problems installing conda packages from specific channels

examples/docker-compose/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For example, you can build and deploy a `jupyter/all-spark-notebook` by modifyin
4343

4444
```dockerfile
4545
FROM jupyter/all-spark-notebook:b418b67c225b
46-
...
46+
# Your RUN commands and so on
4747
```
4848

4949
Once you modify the Dockerfile, don't forget to rebuild the image.
@@ -135,8 +135,8 @@ FQDN=host.mydomain.com [email protected] \
135135
bin/letsencrypt.sh
136136
```
137137

138-
Also, be aware that Let's Encrypt certificates are short lived (90 days).
139-
If you need them for a longer period of time, you'll need to manually setup a cron job to run the renewal steps.
138+
Also, be aware that Let's Encrypt certificates are short-lived (90 days).
139+
If you need them for a longer period of time, you'll need to manually set up a cron job to run the renewal steps.
140140
(You can reuse the command above.)
141141

142142
### Can I deploy to any Docker Machine host?

0 commit comments

Comments
 (0)