Skip to content

Commit

Permalink
Merge pull request #1130 from sbrunner/jupyter
Browse files Browse the repository at this point in the history
Test the generated Jupyter notebook
  • Loading branch information
sbrunner authored Aug 17, 2023
2 parents 5dfa459 + 163da7c commit 34efd12
Show file tree
Hide file tree
Showing 9 changed files with 1,528 additions and 773 deletions.
715 changes: 697 additions & 18 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
line-length = 110
target-version = ["py39"]

[tool.isort]
profile = "black"
line_length = 110

[tool.mypy]
python_version = 3.9
ignore_missing_imports = true
Expand Down Expand Up @@ -97,6 +101,9 @@ pyroma = "4.2"
typing-extensions = "4.7.1"
c2cwsgiutils = { version = "6.0.0.dev142", extras = ["test_images"] }
types-requests = "2.31.0.2"
nbconvert = "7.7.3"
ipykernel = "6.25.1"


[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning", "poetry-plugin-tweak-dependencies-version"]
Expand Down
4 changes: 4 additions & 0 deletions scan_to_paperless/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
CONFIG_PATH = os.path.join(CONFIG_FOLDER, CONFIG_FILENAME)


class ScanToPaperlessException(Exception):
"""Base exception for this module."""


def get_config(config_filename: str) -> schema.Configuration:
"""Get the configuration."""
if os.path.exists(config_filename):
Expand Down
Loading

0 comments on commit 34efd12

Please sign in to comment.