Skip to content

Commit

Permalink
Fix wrong syntax of pyscript.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrgredowski committed Dec 19, 2024
1 parent 9b905e5 commit d06731c
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 8 deletions.
10 changes: 4 additions & 6 deletions bucket_of_utils/qr/pyscript.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ packages = [
]
[files]
"./index.py" = "./index.py"
"{SOURCE}" = "../../bucket_of_utils"
"{TARGET}" = "bucket_of_utils"
"{SOURCE}/qr/wifi.py" = "{TARGET}/qr/wifi.py"
"{SOURCE}/panel_autogenerator/__init__.py" = "{TARGET}/panel_autogenerator/__init__.py"
"{SOURCE}/panel_autogenerator/_generate.py" = "{TARGET}/panel_autogenerator/_generate.py"
"{SOURCE}/panel_autogenerator/_style.py" = "{TARGET}/panel_autogenerator/_style.py"
"../../bucket_of_utils/qr/wifi.py" = "bucket_of_utils/qr/wifi.py"
"../../bucket_of_utils/panel_autogenerator/__init__.py" = "bucket_of_utils/panel_autogenerator/__init__.py"
"../../bucket_of_utils/panel_autogenerator/_generate.py" = "bucket_of_utils/panel_autogenerator/_generate.py"
"../../bucket_of_utils/panel_autogenerator/_style.py" = "bucket_of_utils/panel_autogenerator/_style.py"

"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/ttf/FiraCode-Regular.ttf" = "_static/fonts/FiraCode-Regular.ttf"
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,10 @@ force-single-line = true

[tool.mypy]
exclude = [".venv"]

[dependency-groups]
dev = [
"imgcompare>=2.0.1",
"pytest-mock>=3.14.0",
"pytest>=8.3.4",
]
4 changes: 2 additions & 2 deletions tests/pdf/test_add_title_to_first_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import pdf_annotate as pa

from bucket_of_utils.pdf.add_title_to_first_page import AnnotationConfig
from bucket_of_utils.pdf.add_title_to_first_page import add_file_name_annotation_to_pdf
from bucket_of_utils.pdf.add_title_to_first_page.add_title_to_first_page import AnnotationConfig
from bucket_of_utils.pdf.add_title_to_first_page.add_title_to_first_page import add_file_name_annotation_to_pdf


def test_add_file_name_annotation_to_pdf():
Expand Down
70 changes: 70 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d06731c

Please sign in to comment.