fotolab 0.16.11__tar.gz → 0.16.12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. {fotolab-0.16.11 → fotolab-0.16.12}/.pre-commit-config.yaml +2 -2
  2. {fotolab-0.16.11 → fotolab-0.16.12}/CHANGELOG.md +6 -0
  3. {fotolab-0.16.11 → fotolab-0.16.12}/PKG-INFO +1 -1
  4. {fotolab-0.16.11 → fotolab-0.16.12}/Pipfile.lock +51 -43
  5. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/__init__.py +1 -1
  6. {fotolab-0.16.11 → fotolab-0.16.12}/noxfile.py +4 -6
  7. {fotolab-0.16.11 → fotolab-0.16.12}/.coveragerc +0 -0
  8. {fotolab-0.16.11 → fotolab-0.16.12}/.gitignore +0 -0
  9. {fotolab-0.16.11 → fotolab-0.16.12}/.python-version +0 -0
  10. {fotolab-0.16.11 → fotolab-0.16.12}/CONTRIBUTING.md +0 -0
  11. {fotolab-0.16.11 → fotolab-0.16.12}/LICENSE.md +0 -0
  12. {fotolab-0.16.11 → fotolab-0.16.12}/Pipfile +0 -0
  13. {fotolab-0.16.11 → fotolab-0.16.12}/README.md +0 -0
  14. {fotolab-0.16.11 → fotolab-0.16.12}/docs/Makefile +0 -0
  15. {fotolab-0.16.11 → fotolab-0.16.12}/docs/make.bat +0 -0
  16. {fotolab-0.16.11 → fotolab-0.16.12}/docs/source/CHANGELOG.md +0 -0
  17. {fotolab-0.16.11 → fotolab-0.16.12}/docs/source/CONTRIBUTING.md +0 -0
  18. {fotolab-0.16.11 → fotolab-0.16.12}/docs/source/LICENSE.md +0 -0
  19. {fotolab-0.16.11 → fotolab-0.16.12}/docs/source/README.md +0 -0
  20. {fotolab-0.16.11 → fotolab-0.16.12}/docs/source/_static/logo.jpg +0 -0
  21. {fotolab-0.16.11 → fotolab-0.16.12}/docs/source/conf.py +0 -0
  22. {fotolab-0.16.11 → fotolab-0.16.12}/docs/source/index.rst +0 -0
  23. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/__main__.py +0 -0
  24. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/animate.py +0 -0
  25. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/auto.py +0 -0
  26. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/border.py +0 -0
  27. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/cli.py +0 -0
  28. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/contrast.py +0 -0
  29. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/env.py +0 -0
  30. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/info.py +0 -0
  31. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/montage.py +0 -0
  32. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/resize.py +0 -0
  33. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/rotate.py +0 -0
  34. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/sharpen.py +0 -0
  35. {fotolab-0.16.11 → fotolab-0.16.12}/fotolab/watermark.py +0 -0
  36. {fotolab-0.16.11 → fotolab-0.16.12}/pyproject.toml +0 -0
  37. {fotolab-0.16.11 → fotolab-0.16.12}/tests/__init__.py +0 -0
  38. {fotolab-0.16.11 → fotolab-0.16.12}/tests/conftest.py +0 -0
  39. {fotolab-0.16.11 → fotolab-0.16.12}/tests/test_env.py +0 -0
  40. {fotolab-0.16.11 → fotolab-0.16.12}/tests/test_help_flag.py +0 -0
  41. {fotolab-0.16.11 → fotolab-0.16.12}/tests/test_quiet_flag.py +0 -0
@@ -45,7 +45,7 @@ repos:
45
45
  - --py=312
46
46
 
47
47
  - repo: https://github.com/psf/black
48
- rev: 24.4.2
48
+ rev: 24.8.0
49
49
  hooks:
50
50
  - id: black
51
51
  language_version: python3.12
@@ -107,7 +107,7 @@ repos:
107
107
  - --disable=R0801,W0212
108
108
 
109
109
  - repo: https://github.com/pre-commit/mirrors-mypy
110
- rev: v1.11.0
110
+ rev: v1.11.1
111
111
  hooks:
112
112
  - id: mypy
113
113
  exclude: docs/
@@ -7,6 +7,12 @@ and this project adheres to [0-based versioning](https://0ver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## v0.16.12 (2024-08-04)
11
+
12
+ - Bump deps and `pre-commit` hooks
13
+ - Hide courtesy message when updating deps
14
+ - Use extra args when running `test` session in `nox`
15
+
10
16
  ## v0.16.11 (2024-07-28)
11
17
 
12
18
  - Bump deps and `pre-commit` hooks
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fotolab
3
- Version: 0.16.11
3
+ Version: 0.16.12
4
4
  Summary: A console program that manipulate images.
5
5
  Keywords: photography,photo
6
6
  Author-email: Kian-Meng Ang <kianmeng@cpan.org>
@@ -107,11 +107,11 @@
107
107
  "develop": {
108
108
  "alabaster": {
109
109
  "hashes": [
110
- "sha256:75a8b99c28a5dad50dd7f8ccdd447a121ddb3892da9e53d1ca5cca3106d58d65",
111
- "sha256:b46733c07dce03ae4e150330b975c75737fa60f0a7c591b6c8bf4928a28e2c92"
110
+ "sha256:1ee19aca801bbabb5ba3f5f258e4422dfa86f82f3e9cefb0859b283cdd7f62a3",
111
+ "sha256:a27a4a084d5e690e16e01e03ad2b2e552c61a65469419b907243193de1a84ae2"
112
112
  ],
113
- "markers": "python_version >= '3.9'",
114
- "version": "==0.7.16"
113
+ "markers": "python_version >= '3.6'",
114
+ "version": "==0.7.13"
115
115
  },
116
116
  "argcomplete": {
117
117
  "hashes": [
@@ -327,11 +327,11 @@
327
327
  },
328
328
  "docutils": {
329
329
  "hashes": [
330
- "sha256:3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f",
331
- "sha256:dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2"
330
+ "sha256:96f387a2c5562db4476f09f13bbab2192e764cac08ebbf3a34a95d9b1e4a59d6",
331
+ "sha256:f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b"
332
332
  ],
333
- "markers": "python_version >= '3.9'",
334
- "version": "==0.21.2"
333
+ "markers": "python_version >= '3.7'",
334
+ "version": "==0.20.1"
335
335
  },
336
336
  "exceptiongroup": {
337
337
  "hashes": [
@@ -700,12 +700,12 @@
700
700
  },
701
701
  "pre-commit": {
702
702
  "hashes": [
703
- "sha256:8ca3ad567bc78a4972a3f1a477e94a79d4597e8140a6e0b651c5e33899c3654a",
704
- "sha256:fae36fd1d7ad7d6a5a1c0b0d5adb2ed1a3bda5a21bf6c3e5372073d7a11cd4c5"
703
+ "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32",
704
+ "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660"
705
705
  ],
706
706
  "index": "pypi",
707
- "markers": "python_version >= '3.9'",
708
- "version": "==3.7.1"
707
+ "markers": "python_version >= '3.8'",
708
+ "version": "==3.5.0"
709
709
  },
710
710
  "pycodestyle": {
711
711
  "hashes": [
@@ -741,12 +741,12 @@
741
741
  },
742
742
  "pytest": {
743
743
  "hashes": [
744
- "sha256:7e8e5c5abd6e93cb1cc151f23e57adc31fcf8cfd2a3ff2da63e23f732de35db6",
745
- "sha256:e9600ccf4f563976e2c99fa02c7624ab938296551f280835ee6516df8bc4ae8c"
744
+ "sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5",
745
+ "sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce"
746
746
  ],
747
747
  "index": "pypi",
748
748
  "markers": "python_version >= '3.8'",
749
- "version": "==8.3.1"
749
+ "version": "==8.3.2"
750
750
  },
751
751
  "pytest-cov": {
752
752
  "hashes": [
@@ -775,6 +775,14 @@
775
775
  "markers": "python_version >= '3.8'",
776
776
  "version": "==3.6.1"
777
777
  },
778
+ "pytz": {
779
+ "hashes": [
780
+ "sha256:2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812",
781
+ "sha256:328171f4e3623139da4983451950b28e95ac706e13f3f2630a879749e7a8b319"
782
+ ],
783
+ "markers": "python_version < '3.9'",
784
+ "version": "==2024.1"
785
+ },
778
786
  "pyyaml": {
779
787
  "hashes": [
780
788
  "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5",
@@ -856,21 +864,21 @@
856
864
  },
857
865
  "sphinx": {
858
866
  "hashes": [
859
- "sha256:242f92a7ea7e6c5b406fdc2615413890ba9f699114a9c09192d7dfead2ee9cfe",
860
- "sha256:c2419e2135d11f1951cd994d6eb18a1835bd8fdd8429f9ca375dc1f3281bd239"
867
+ "sha256:780f4d32f1d7d1126576e0e5ecc19dc32ab76cd24e950228dcf7b1f6d3d9e22f",
868
+ "sha256:d170a81825b2fcacb6dfd5a0d7f578a053e45d3f2b153fecc948c37344eb4cbe"
861
869
  ],
862
870
  "index": "pypi",
863
- "markers": "python_version >= '3.9'",
864
- "version": "==7.4.7"
871
+ "markers": "python_version >= '3.8'",
872
+ "version": "==7.1.2"
865
873
  },
866
874
  "sphinx-autodoc-typehints": {
867
875
  "hashes": [
868
- "sha256:b7058e8c5831e5598afca1a78fda0695d3291388d954464a6e480c36198680c0",
869
- "sha256:fde3d888949bd0a91207cf1e54afda58121dbb4bf1f183d0cc78a0826654c974"
876
+ "sha256:60ed1e3b2c970acc0aa6e877be42d48029a9faec7378a17838716cacd8c10b12",
877
+ "sha256:f73ae89b43a799e587e39266672c1075b2ef783aeb382d3ebed77c38a3fc0149"
870
878
  ],
871
879
  "index": "pypi",
872
- "markers": "python_version >= '3.9'",
873
- "version": "==2.2.3"
880
+ "markers": "python_version >= '3.8'",
881
+ "version": "==2.0.1"
874
882
  },
875
883
  "sphinx-copybutton": {
876
884
  "hashes": [
@@ -883,27 +891,27 @@
883
891
  },
884
892
  "sphinxcontrib-applehelp": {
885
893
  "hashes": [
886
- "sha256:c40a4f96f3776c4393d933412053962fac2b84f4c99a7982ba42e09576a70619",
887
- "sha256:cb61eb0ec1b61f349e5cc36b2028e9e7ca765be05e49641c97241274753067b4"
894
+ "sha256:29d341f67fb0f6f586b23ad80e072c8e6ad0b48417db2bde114a4c9746feb228",
895
+ "sha256:828f867945bbe39817c210a1abfd1bc4895c8b73fcaade56d45357a348a07d7e"
888
896
  ],
889
- "markers": "python_version >= '3.9'",
890
- "version": "==1.0.8"
897
+ "markers": "python_version >= '3.8'",
898
+ "version": "==1.0.4"
891
899
  },
892
900
  "sphinxcontrib-devhelp": {
893
901
  "hashes": [
894
- "sha256:6485d09629944511c893fa11355bda18b742b83a2b181f9a009f7e500595c90f",
895
- "sha256:9893fd3f90506bc4b97bdb977ceb8fbd823989f4316b28c3841ec128544372d3"
902
+ "sha256:8165223f9a335cc1af7ffe1ed31d2871f325254c0423bc0c4c7cd1c1e4734a2e",
903
+ "sha256:ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4"
896
904
  ],
897
- "markers": "python_version >= '3.9'",
898
- "version": "==1.0.6"
905
+ "markers": "python_version >= '3.5'",
906
+ "version": "==1.0.2"
899
907
  },
900
908
  "sphinxcontrib-htmlhelp": {
901
909
  "hashes": [
902
- "sha256:1b9af5a2671a61410a868fce050cab7ca393c218e6205cbc7f590136f207395c",
903
- "sha256:c6597da06185f0e3b4dc952777a04200611ef563882e0c244d27a15ee22afa73"
910
+ "sha256:0cbdd302815330058422b98a113195c9249825d681e18f11e8b1f78a2f11efff",
911
+ "sha256:c38cb46dccf316c79de6e5515e1770414b797162b23cd3d06e67020e1d2a6903"
904
912
  ],
905
- "markers": "python_version >= '3.9'",
906
- "version": "==2.0.6"
913
+ "markers": "python_version >= '3.8'",
914
+ "version": "==2.0.1"
907
915
  },
908
916
  "sphinxcontrib-jsmath": {
909
917
  "hashes": [
@@ -915,19 +923,19 @@
915
923
  },
916
924
  "sphinxcontrib-qthelp": {
917
925
  "hashes": [
918
- "sha256:323d6acc4189af76dfe94edd2a27d458902319b60fcca2aeef3b2180c106a75f",
919
- "sha256:db3f8fa10789c7a8e76d173c23364bdf0ebcd9449969a9e6a3dd31b8b7469f03"
926
+ "sha256:4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72",
927
+ "sha256:bd9fc24bcb748a8d51fd4ecaade681350aa63009a347a8c14e637895444dfab6"
920
928
  ],
921
- "markers": "python_version >= '3.9'",
922
- "version": "==1.0.8"
929
+ "markers": "python_version >= '3.5'",
930
+ "version": "==1.0.3"
923
931
  },
924
932
  "sphinxcontrib-serializinghtml": {
925
933
  "hashes": [
926
- "sha256:326369b8df80a7d2d8d7f99aa5ac577f51ea51556ed974e7716cfd4fca3f6cb7",
927
- "sha256:93f3f5dc458b91b192fe10c397e324f262cf163d79f3282c158e8436a2c4511f"
934
+ "sha256:352a9a00ae864471d3a7ead8d7d79f5fc0b57e8b3f95e9867eb9eb28999b92fd",
935
+ "sha256:aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952"
928
936
  ],
929
- "markers": "python_version >= '3.9'",
930
- "version": "==1.1.10"
937
+ "markers": "python_version >= '3.5'",
938
+ "version": "==1.1.5"
931
939
  },
932
940
  "tomli": {
933
941
  "hashes": [
@@ -21,7 +21,7 @@ import subprocess
21
21
  import sys
22
22
  from pathlib import Path
23
23
 
24
- __version__ = "0.16.11"
24
+ __version__ = "0.16.12"
25
25
 
26
26
  log = logging.getLogger(__name__)
27
27
 
@@ -23,7 +23,7 @@ def deps(session: nox.Session) -> None:
23
23
  """Update pre-commit hooks and deps."""
24
24
  session.install("pre-commit", "pipenv")
25
25
  session.run("pre-commit", "autoupdate", *session.posargs)
26
- session.run("pipenv", "update")
26
+ session.run("pipenv", "update", env={"PIPENV_VERBOSITY": "-1"})
27
27
 
28
28
 
29
29
  @nox.session()
@@ -37,15 +37,15 @@ def lint(session: nox.Session) -> None:
37
37
  def test(session: nox.Session) -> None:
38
38
  """Run test."""
39
39
  _pipenv_install(session)
40
-
41
- session.run("pipenv", "run", "pytest", "--numprocesses", "auto")
40
+ session.run(
41
+ "pipenv", "run", "pytest", "--numprocesses", "auto", *session.posargs
42
+ )
42
43
 
43
44
 
44
45
  @nox.session(python="3.12")
45
46
  def cov(session: nox.Session) -> None:
46
47
  """Run test coverage."""
47
48
  _pipenv_install(session)
48
-
49
49
  session.run(
50
50
  "pipenv",
51
51
  "run",
@@ -62,7 +62,6 @@ def cov(session: nox.Session) -> None:
62
62
  def doc(session: nox.Session) -> None:
63
63
  """Build doc with sphinx."""
64
64
  _pipenv_install(session)
65
-
66
65
  session.run("sphinx-build", "docs/source/", "docs/build/html")
67
66
 
68
67
 
@@ -70,7 +69,6 @@ def doc(session: nox.Session) -> None:
70
69
  def readme(session: nox.Session) -> None:
71
70
  """Update console help menu to readme."""
72
71
  _pipenv_install(session)
73
-
74
72
  with open("README.md", "r+", encoding="utf8") as f:
75
73
  help_message = session.run("fotolab", "-h", silent=True)
76
74
  help_codeblock = f"\n\n```console\n{help_message}```\n\n"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes