fotolab 0.16.15__tar.gz → 0.16.17__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.15 → fotolab-0.16.17}/.pre-commit-config.yaml +1 -1
  2. {fotolab-0.16.15 → fotolab-0.16.17}/CHANGELOG.md +13 -0
  3. {fotolab-0.16.15 → fotolab-0.16.17}/CONTRIBUTING.md +3 -2
  4. {fotolab-0.16.15 → fotolab-0.16.17}/PKG-INFO +1 -1
  5. {fotolab-0.16.15 → fotolab-0.16.17}/Pipfile.lock +14 -14
  6. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/__init__.py +1 -1
  7. {fotolab-0.16.15 → fotolab-0.16.17}/noxfile.py +16 -3
  8. {fotolab-0.16.15 → fotolab-0.16.17}/.coveragerc +0 -0
  9. {fotolab-0.16.15 → fotolab-0.16.17}/.gitignore +0 -0
  10. {fotolab-0.16.15 → fotolab-0.16.17}/.python-version +0 -0
  11. {fotolab-0.16.15 → fotolab-0.16.17}/LICENSE.md +0 -0
  12. {fotolab-0.16.15 → fotolab-0.16.17}/Pipfile +0 -0
  13. {fotolab-0.16.15 → fotolab-0.16.17}/README.md +0 -0
  14. {fotolab-0.16.15 → fotolab-0.16.17}/docs/Makefile +0 -0
  15. {fotolab-0.16.15 → fotolab-0.16.17}/docs/make.bat +0 -0
  16. {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/CHANGELOG.md +0 -0
  17. {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/CONTRIBUTING.md +0 -0
  18. {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/LICENSE.md +0 -0
  19. {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/README.md +0 -0
  20. {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/_static/logo.jpg +0 -0
  21. {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/conf.py +0 -0
  22. {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/index.rst +0 -0
  23. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/__main__.py +0 -0
  24. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/animate.py +0 -0
  25. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/auto.py +0 -0
  26. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/border.py +0 -0
  27. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/cli.py +0 -0
  28. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/contrast.py +0 -0
  29. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/env.py +0 -0
  30. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/info.py +0 -0
  31. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/montage.py +0 -0
  32. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/resize.py +0 -0
  33. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/rotate.py +0 -0
  34. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/sharpen.py +0 -0
  35. {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/watermark.py +0 -0
  36. {fotolab-0.16.15 → fotolab-0.16.17}/pyproject.toml +0 -0
  37. {fotolab-0.16.15 → fotolab-0.16.17}/tests/__init__.py +0 -0
  38. {fotolab-0.16.15 → fotolab-0.16.17}/tests/conftest.py +0 -0
  39. {fotolab-0.16.15 → fotolab-0.16.17}/tests/test_env.py +0 -0
  40. {fotolab-0.16.15 → fotolab-0.16.17}/tests/test_help_flag.py +0 -0
  41. {fotolab-0.16.15 → fotolab-0.16.17}/tests/test_quiet_flag.py +0 -0
@@ -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.1
110
+ rev: v1.11.2
111
111
  hooks:
112
112
  - id: mypy
113
113
  exclude: docs/
@@ -7,6 +7,19 @@ and this project adheres to [0-based versioning](https://0ver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## v0.16.17 (2024-09-08)
11
+
12
+ - Add `posargs` to most sessions in `nox`
13
+ - Bump deps
14
+ - Update comment on running specific task in `lint` session in `nox`
15
+ - Update missing deps and `nox` sessions in contributing doc
16
+
17
+ ## v0.16.16 (2024-09-01)
18
+
19
+ - Bump deps and `pre-commit` hooks
20
+ - Fix `readme` session in `nox` cannot run due to missing deps
21
+ - Install all deps in all `nox` session
22
+
10
23
  ## v0.16.15 (2024-08-25)
11
24
 
12
25
  - Bump deps and `pyenv` versions
@@ -31,7 +31,7 @@ pyenv install $(cat .python-version)
31
31
  Install necessary packages:
32
32
 
33
33
  ```console
34
- python -m pip install --upgrade pip pipenv
34
+ python -m pip install --upgrade pip pipenv nox
35
35
  pipenv install --dev
36
36
  ```
37
37
 
@@ -50,7 +50,7 @@ nox -l
50
50
  ```console
51
51
  ...
52
52
  * deps -> Update pre-commit hooks and deps.
53
- * lint -> Run pre-commit linter.
53
+ * lint -> Run pre-commit tasks.
54
54
  * test-3.8 -> Run test.
55
55
  * test-3.9 -> Run test.
56
56
  * test-3.10 -> Run test.
@@ -59,6 +59,7 @@ nox -l
59
59
  * cov -> Run test coverage.
60
60
  * doc -> Build doc with sphinx.
61
61
  * readme -> Update console help menu to readme.
62
+ * release -> Bump release.
62
63
 
63
64
  sessions marked with * are selected, sessions marked with - are skipped.
64
65
  ```
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fotolab
3
- Version: 0.16.15
3
+ Version: 0.16.17
4
4
  Summary: A console program that manipulate images.
5
5
  Keywords: photography,photo
6
6
  Author-email: Kian-Meng Ang <kianmeng@cpan.org>
@@ -139,11 +139,11 @@
139
139
  },
140
140
  "certifi": {
141
141
  "hashes": [
142
- "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b",
143
- "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90"
142
+ "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8",
143
+ "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"
144
144
  ],
145
145
  "markers": "python_version >= '3.6'",
146
- "version": "==2024.7.4"
146
+ "version": "==2024.8.30"
147
147
  },
148
148
  "cfgv": {
149
149
  "hashes": [
@@ -444,11 +444,11 @@
444
444
  },
445
445
  "idna": {
446
446
  "hashes": [
447
- "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc",
448
- "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"
447
+ "sha256:050b4e5baadcd44d760cedbd2b8e639f2ff89bbc7a5730fcc662954303377aac",
448
+ "sha256:d838c2c0ed6fced7693d5e8ab8e734d5f8fda53a039c0164afb0b82e771e3603"
449
449
  ],
450
- "markers": "python_version >= '3.5'",
451
- "version": "==3.7"
450
+ "markers": "python_version >= '3.6'",
451
+ "version": "==3.8"
452
452
  },
453
453
  "imagesize": {
454
454
  "hashes": [
@@ -887,12 +887,12 @@
887
887
  },
888
888
  "sphinx-autodoc-typehints": {
889
889
  "hashes": [
890
- "sha256:b7058e8c5831e5598afca1a78fda0695d3291388d954464a6e480c36198680c0",
891
- "sha256:fde3d888949bd0a91207cf1e54afda58121dbb4bf1f183d0cc78a0826654c974"
890
+ "sha256:8f8281654ddf5709875429b7120d367f4edee39a131e13d5806e4f779a81bf0f",
891
+ "sha256:c9774d47e7d304cf975e073df49ebf19763dca94ac0295e7013b522b26cb18de"
892
892
  ],
893
893
  "index": "pypi",
894
- "markers": "python_version >= '3.9'",
895
- "version": "==2.2.3"
894
+ "markers": "python_version >= '3.10'",
895
+ "version": "==2.4.0"
896
896
  },
897
897
  "sphinx-copybutton": {
898
898
  "hashes": [
@@ -978,11 +978,11 @@
978
978
  },
979
979
  "zipp": {
980
980
  "hashes": [
981
- "sha256:0145e43d89664cfe1a2e533adc75adafed82fe2da404b4bbb6b026c0157bdb31",
982
- "sha256:58da6168be89f0be59beb194da1250516fdaa062ccebd30127ac65d30045e10d"
981
+ "sha256:9960cd8967c8f85a56f920d5d507274e74f9ff813a0ab8889a5b5be2daf44064",
982
+ "sha256:c22b14cc4763c5a5b04134207736c107db42e9d3ef2d9779d465f5f1bcba572b"
983
983
  ],
984
984
  "markers": "python_version >= '3.8'",
985
- "version": "==3.20.0"
985
+ "version": "==3.20.1"
986
986
  }
987
987
  }
988
988
  }
@@ -21,7 +21,7 @@ import subprocess
21
21
  import sys
22
22
  from pathlib import Path
23
23
 
24
- __version__ = "0.16.15"
24
+ __version__ = "0.16.17"
25
25
 
26
26
  log = logging.getLogger(__name__)
27
27
 
@@ -35,7 +35,12 @@ def deps(session: nox.Session) -> None:
35
35
  @nox.session()
36
36
  @nox.session(python="3.12")
37
37
  def lint(session: nox.Session) -> None:
38
- """Run pre-commit linter."""
38
+ """Run pre-commit tasks.
39
+
40
+ For running selected task within pre-commit:
41
+
42
+ nox -s lint -- pylint
43
+ """
39
44
  session.install("pre-commit")
40
45
  session.run("pre-commit", "run", "--all-files", *session.posargs)
41
46
 
@@ -62,6 +67,7 @@ def cov(session: nox.Session) -> None:
62
67
  "--cov",
63
68
  "--cov-report=term",
64
69
  "--cov-report=html",
70
+ *session.posargs,
65
71
  )
66
72
 
67
73
 
@@ -69,7 +75,9 @@ def cov(session: nox.Session) -> None:
69
75
  def doc(session: nox.Session) -> None:
70
76
  """Build doc with sphinx."""
71
77
  _pipenv_install(session)
72
- session.run("sphinx-build", "docs/source/", "docs/build/html")
78
+ session.run(
79
+ "sphinx-build", "docs/source/", "docs/build/html", *session.posargs
80
+ )
73
81
 
74
82
 
75
83
  @nox.session(python="3.12")
@@ -144,7 +152,12 @@ def release(_session: nox.Session) -> None:
144
152
 
145
153
  def _pipenv_install(session: nox.Session) -> None:
146
154
  session.install("pipenv")
147
- session.run("pipenv", "install", "--dev", env={"PIPENV_VERBOSITY": "-1"})
155
+ session.run(
156
+ "pipenv",
157
+ "install",
158
+ "--dev",
159
+ env={"PIPENV_VERBOSITY": "-1"}
160
+ )
148
161
 
149
162
 
150
163
  def _search_and_replace(file, search, replace) -> None:
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