Skip to content

Commit

Permalink
Merge pull request #940 from sbrunner/renovate/master-patch-all-patch…
Browse files Browse the repository at this point in the history
…-versions

Update all patch versions (master) (patch)
  • Loading branch information
sbrunner committed Feb 1, 2023
2 parents c43eae0 + 9132c41 commit 10b3bc6
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 84 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ci:
skip:
- copyright

repos:
- repo: https://github.com/sbrunner/pre-commit-copyright
rev: 0.2.3
hooks:
- id: copyright
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
160 changes: 83 additions & 77 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ pyzbar = "0.1.9"
reportlab = "3.6.12"
weasyprint = "56.1"
cffi = "1.15.1"
pikepdf = "6.2.7"
pikepdf = "6.2.9"
zxing-cpp = "1.4.0"
pyperclip = "1.8.2"
tifffile = "2022.8.12"
deepmerge = "1.0.1"
matplotlib = "3.6.2"
matplotlib = "3.6.3"

[tool.poetry.dev-dependencies]
prospector = { version = "1.7.7", extras = ["with_bandit", "with_mypy", "with_pyroma"] }
Expand Down
1 change: 0 additions & 1 deletion scan_to_paperless/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def get_config(config_filename: str) -> schema.Configuration:
with open(config_filename, encoding="utf-8") as config_file:
config = cast(schema.Configuration, yaml.load(config_file))
if "extends" in config:

base_config = get_config(
os.path.normpath(
os.path.join(os.path.dirname(config_filename), os.path.expanduser(config["extends"]))
Expand Down
3 changes: 0 additions & 3 deletions scan_to_paperless/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def _get_bar_codes_with_open_cv(
all_codes: Optional[List[_Code]] = None,
added_codes: Optional[Dict[str, _AllCodes]] = None,
) -> List[_PageCode]:

if added_codes is None:
added_codes = {}
if all_codes is None:
Expand Down Expand Up @@ -171,7 +170,6 @@ def _get_qr_codes_with_open_cv(
all_codes: Optional[List[_Code]] = None,
added_codes: Optional[Dict[str, _AllCodes]] = None,
) -> List[_PageCode]:

if added_codes is None:
added_codes = {}
if all_codes is None:
Expand Down Expand Up @@ -330,7 +328,6 @@ def _get_codes_with_z_bar(
all_codes: Optional[List[_Code]] = None,
added_codes: Optional[Dict[str, _AllCodes]] = None,
) -> List[_PageCode]:

if added_codes is None:
added_codes = {}
if all_codes is None:
Expand Down
1 change: 0 additions & 1 deletion scan_to_paperless/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,6 @@ def _histogram(
process_count: int,
log: bool,
) -> None:

_, axes = plt.subplots(figsize=(15, 5))
axes.set_xlim(0, 255)

Expand Down

0 comments on commit 10b3bc6

Please sign in to comment.