Skip to content

Commit f13aef7

Browse files
authored
Merge pull request #1011 from jupyterhub/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 134ddd9 + 354a8d4 commit f13aef7

File tree

10 files changed

+5
-23
lines changed

10 files changed

+5
-23
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
repos:
1212
# Autoformat: Python code, syntax patterns are modernized
1313
- repo: https://github.com/asottile/pyupgrade
14-
rev: v3.17.0
14+
rev: v3.20.0
1515
hooks:
1616
- id: pyupgrade
1717
args:
@@ -31,13 +31,13 @@ repos:
3131

3232
# Autoformat: Python code
3333
- repo: https://github.com/pycqa/isort
34-
rev: 5.13.2
34+
rev: 6.0.1
3535
hooks:
3636
- id: isort
3737

3838
# Autoformat: Python code
3939
- repo: https://github.com/psf/black
40-
rev: 24.8.0
40+
rev: 25.1.0
4141
hooks:
4242
- id: black
4343

@@ -49,7 +49,7 @@ repos:
4949

5050
# Misc...
5151
- repo: https://github.com/pre-commit/pre-commit-hooks
52-
rev: v4.6.0
52+
rev: v6.0.0
5353
# ref: https://github.com/pre-commit/pre-commit-hooks#hooks-available
5454
hooks:
5555
# Autoformat: Makes sure files end in a newline and only a newline.
@@ -64,7 +64,7 @@ repos:
6464

6565
# Lint: Python code
6666
- repo: https://github.com/pycqa/flake8
67-
rev: "7.1.1"
67+
rev: "7.3.0"
6868
hooks:
6969
- id: flake8
7070

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ We have several tutorials to get you started.
3636
- Tutorials to create a new server from scratch on a cloud provider & run TLJH
3737
on it. These are **recommended** if you do not have much experience setting up
3838
servers.
39-
4039
- [Digital Ocean](https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/digitalocean.html)
4140
- [OVH](https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/ovh.html)
4241
- [Google Cloud](https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/google.html)

docs/contributing/dev-setup.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ The easiest & safest way to develop & test TLJH is with [Docker](https://www.doc
6161

6262
8. Make some changes to the repository. You can test easily depending on what
6363
you changed.
64-
6564
- If you changed the `bootstrap/bootstrap.py` script or any of its dependencies,
6665
you can test it by running `python3 /srv/src/bootstrap/bootstrap.py`.
6766
- If you changed the `tljh/installer.py` code (or any of its dependencies),

docs/howto/auth/awscognito.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ application to your `tljh` configuration.
2424
1. Create a user pool [Getting Started with User Pool](https://docs.aws.amazon.com/cognito/latest/developerguide/getting-started-with-cognito-user-pools.html).
2525

2626
When you have completed creating a user pool, app, and domain you should have the following settings available to you:
27-
2827
- **App client id**: From the App client page
2928

3029
- **App client secret** From the App client page

docs/howto/auth/github.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ You'll need a GitHub account in order to complete these steps.
2626
## Step 1: Create a GitHub application
2727

2828
1. Go to the [GitHub OAuth app creation page](https://github.com/settings/applications/new).
29-
3029
- **Application name**: Choose a descriptive application name (e.g. `tljh`)
3130

3231
- **Homepage URL**: Use the IP address or URL of your JupyterHub. e.g. `` http(s)://<my-tljh-url>` ``.

docs/howto/auth/google.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ and create a new project:
5151
```
5252

5353
- You will have to fill a form with:
54-
5554
- **Application type**: Choose _Web application_
5655

5756
- **Name**: A descriptive name for your OAuth client ID (e.g. `tljh-client`)

docs/howto/user-env/user-environment.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ To upgrade the Python version of the user environment, one can:
180180
environment, but you may do so manually.
181181

182182
**Steps:**
183-
184183
1. Activate the user environment, if using ssh. If the terminal was
185184
started with JupyterHub, this step can be skipped:
186185

docs/install/azure.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ We start by creating the Virtual Machine in which we can run TLJH (The Littlest
5151
```
5252
5353
5. **Choose an Ubuntu server for your VM**:
54-
5554
- Click `Ubuntu Server 22.04 LTS.`
5655
5756
- Make sure `Resource Manager` is selected in the next screen and click **Create**
@@ -61,7 +60,6 @@ We start by creating the Virtual Machine in which we can run TLJH (The Littlest
6160
```
6261
6362
6. Customise the Virtual Machine basics:
64-
6563
- **Subscription**. Choose the "Free Trial" if this is what you're using. Otherwise, choose a different plan. This is the billing account that will be charged.
6664
- **Resource group**. Resource groups let you keep your Azure tools/resources together in an availability region (e.g. WestEurope). If you already have one you'd like to use it select that resource.
6765
@@ -89,7 +87,6 @@ We start by creating the Virtual Machine in which we can run TLJH (The Littlest
8987
- **Inbound port rules**. Leave the defaults for now, and we will update these later on in the Network configuration step.
9088
9189
7. Before clicking on "Next" we need to select the RAM size for the image.
92-
9390
- For this we need to make sure we have enough RAM to accommodate your users. For example, if each user needs 2GB of RAM, and you have 10 total users, you need at least 20GB of RAM on the machine. It's also good to have a few GB of "buffer" RAM beyond what you think you'll need.
9491
9592
- Click on **Change size** (see image below)
@@ -105,7 +102,6 @@ We start by creating the Virtual Machine in which we can run TLJH (The Littlest
105102
- Select a suitable image (to check available images and prices in your region [click on this link](https://azuremarketplace.microsoft.com/en-gb/marketplace/apps/Canonical.UbuntuServer?tab=PlansAndPrice/?wt.mc_id=TLJH-github-taallard)).
106103
107104
8. Disks (Storage):
108-
109105
- **Disk options**: select the OS disk type there are options for SDD and HDD. **SSD persistent disk** gives you a faster but more expensive disk than HDD.
110106
111107
- **Data disk**. Click on create and attach a new disk. Select an appropriate type and size and click ok.
@@ -120,7 +116,6 @@ We start by creating the Virtual Machine in which we can run TLJH (The Littlest
120116
```
121117
122118
9. Networking
123-
124119
- **Virtual network**. Leave the default values selected.
125120
- **Subnet**. Leave the default values selected.
126121
- **Public IP address**.Leave the default values selected. This will make your server accessible from a browser.
@@ -132,9 +127,7 @@ We start by creating the Virtual Machine in which we can run TLJH (The Littlest
132127
```
133128
134129
10. Management
135-
136130
- Monitoring
137-
138131
- **Boot diagnostics**. Choose "On".
139132
- **OS guest diagnostics**. Choose "Off".
140133
- **Diagnostics storage account**. Leave as the default.
@@ -150,7 +143,6 @@ We start by creating the Virtual Machine in which we can run TLJH (The Littlest
150143
```
151144
152145
11. Advanced settings
153-
154146
- **Extensions**. Make sure there are no extensions listed
155147
- **Cloud init**. We are going to use this section to install TLJH directly into our Virtual Machine.
156148
@@ -177,7 +169,6 @@ We start by creating the Virtual Machine in which we can run TLJH (The Littlest
177169
12. Check the summary and confirm the creation of your Virtual Machine.
178170
179171
13. Check that the creation of your Virtual Machine worked.
180-
181172
- Wait for the virtual machine to be created. This might take about 5-10 minutes.
182173
183174
- After completion, you should see a similar screen to the one below:

docs/topic/whentouse.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ container technology in administering user sessions.
2222
The choice between TLJH and Z2JH ultimately comes down to only a few questions:
2323

2424
1. Do you want your hub and all users to live on a **single, larger machine** vs. spreading users on a **cluster of smaller machines** that are scaled up or down?
25-
2625
- If you can use a single machine, we recommend **The Littlest JupyterHub**.
2726
- If you wish to use multiple machines, we recommend **Zero to JupyterHub for Kubernetes**.
2827

2928
2. Do you **need to use container technology**?
30-
3129
- If no, we recommend **The Littlest JupyterHub**.
3230
- If yes, we recommend **Zero to JupyterHub for Kubernetes**.

docs/troubleshooting/logs.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ easier. Here are some very basic tips on effective `journalctl` usage.
8181
[less](<https://en.wikipedia.org/wiki/Less_(Unix)>). This allows you to
8282
scroll up / down, search for specific words, etc. Some common keyboard shortcuts
8383
are:
84-
8584
- Arrow keys to move up / down / left / right
8685
- `G` to navigate to the end of the logs
8786
- `g` to navigate to the start of the logs

0 commit comments

Comments
 (0)