From b7e53ccd5ccd4d1591070234c245ad39afeebde1 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 1 Aug 2023 11:22:28 +0200 Subject: [PATCH] Fix linting (#1364) * Linting * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- docs/source/_static/main_stylesheet.css | 4 ++-- docs/source/deploy.rst | 14 +++++++------- yarn.lock | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/source/_static/main_stylesheet.css b/docs/source/_static/main_stylesheet.css index eed575bac..2cc3bf697 100644 --- a/docs/source/_static/main_stylesheet.css +++ b/docs/source/_static/main_stylesheet.css @@ -8,10 +8,10 @@ } /*use voila palette for title coloring*/ -html[data-theme="light"] { +html[data-theme='light'] { --pst-color-primary: #5dbcaf; } -html[data-theme="dark"] { +html[data-theme='dark'] { --pst-color-primary: #5dbcaf; } diff --git a/docs/source/deploy.rst b/docs/source/deploy.rst index d418580cd..b7099597a 100644 --- a/docs/source/deploy.rst +++ b/docs/source/deploy.rst @@ -115,7 +115,7 @@ High level instructions, specific to VoilĂ  can be found below: 1. Follow the steps of the official documentation to install the Railway CLI and login on your machine. -2. Add a file named runtime.txt to the project directory with a +2. Add a file named runtime.txt to the project directory with a `valid Python runtime `__: .. code:: text @@ -253,13 +253,13 @@ Steps proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - + proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_read_timeout 86400; } - + client_max_body_size 100M; error_log /var/log/nginx/error.log; } @@ -289,7 +289,7 @@ Steps [Unit] Description=Voila - + [Service] Type=simple PIDFile=/run/voila.pid @@ -298,7 +298,7 @@ Steps WorkingDirectory=/home/ubuntu/ Restart=always RestartSec=10 - + [Install] WantedBy=multi-user.target @@ -337,7 +337,7 @@ Enable HTTPS with Let's Encrypt 2. Obtain the certificates from Let's Encrypt. The ``--nginx`` flag will edit the nginx configuration automatically: .. code:: text - + sudo certbot --nginx -d yourdomain.com 3. ``/etc/nginx/sites-enabled/yourdomain.com`` should now contain a few more entries: @@ -345,7 +345,7 @@ Enable HTTPS with Let's Encrypt .. code :: text $ cat /etc/nginx/sites-enabled/yourdomain.com - + ... listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem; # managed by Certbot diff --git a/yarn.lock b/yarn.lock index 6f96b3d39..01054d02b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15979,11 +15979,11 @@ __metadata: "typescript@patch:typescript@~5.0.2#~builtin": version: 5.0.4 - resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=b5f058" + resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=85af82" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: d26b6ba97b6d163c55dbdffd9bbb4c211667ebebc743accfeb2c8c0154aace7afd097b51165a72a5bad2cf65a4612259344ff60f8e642362aa1695c760d303ac + checksum: bb309d320c59a26565fb3793dba550576ab861018ff3fd1b7fccabbe46ae4a35546bc45f342c0a0b6f265c801ccdf64ffd68f548f117ceb7f0eac4b805cd52a9 languageName: node linkType: hard