From e7cb843f791d2144a2f806d7d7aeb6f03e4862cc Mon Sep 17 00:00:00 2001 From: Paul Hewlett Date: Mon, 27 Mar 2023 10:36:11 +0100 Subject: [PATCH] Document fonts are incorrect Problem: Statically defined fonts were not available at python.rkvst.com. Solution: Fonts were retrieved using http instead of https which failed for external users but succeeded when run locally. Additionally fixed spurious pyright error. Signed-off-by: Paul Hewlett --- docs/_static/css/rkvst_theme.css | 8 ++++---- pyproject.toml | 8 ++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/_static/css/rkvst_theme.css b/docs/_static/css/rkvst_theme.css index 96fda5d0..718a978c 100644 --- a/docs/_static/css/rkvst_theme.css +++ b/docs/_static/css/rkvst_theme.css @@ -1,6 +1,6 @@ -@import url("http://fonts.googleapis.com/css?family=Montserrat"); -@import url("http://fonts.googleapis.com/css?family=Open+Sans"); -@import url("http://fonts.googleapis.com/css?family=Roboto+Mono"); +@import url("https://fonts.googleapis.com/css?family=Montserrat"); +@import url("https://fonts.googleapis.com/css?family=Open+Sans"); +@import url("https://fonts.googleapis.com/css?family=Roboto+Mono"); h1, h2, @@ -28,4 +28,4 @@ pre { .wy-menu { font-family: 'Open Sans'; -} \ No newline at end of file +} diff --git a/pyproject.toml b/pyproject.toml index 833f9346..cc6373ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,14 @@ enabled = true [tool.pyright] include = ["archivist"] typeCheckingMode = "basic" +# +# from v1.1.300 an error 'archivist/cmds/runner/run.py:27:21 - error: Module is not callable' +# was generated. Similar code in cmds/templare/run.py did not generate this error +# and no combination of settings would work so had to resort to +# suppressing this general error. Issues have been raised at pyright about this +# being too general. There is not enough time or patience to fix linting apps which +# are faulty. +reportGeneralTypeIssues = false [tool.pylint.main] # Analyse import fallback blocks. This can be used to support both Python 2 and 3