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.
- {fotolab-0.16.15 → fotolab-0.16.17}/.pre-commit-config.yaml +1 -1
- {fotolab-0.16.15 → fotolab-0.16.17}/CHANGELOG.md +13 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/CONTRIBUTING.md +3 -2
- {fotolab-0.16.15 → fotolab-0.16.17}/PKG-INFO +1 -1
- {fotolab-0.16.15 → fotolab-0.16.17}/Pipfile.lock +14 -14
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/__init__.py +1 -1
- {fotolab-0.16.15 → fotolab-0.16.17}/noxfile.py +16 -3
- {fotolab-0.16.15 → fotolab-0.16.17}/.coveragerc +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/.gitignore +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/.python-version +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/LICENSE.md +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/Pipfile +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/README.md +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/docs/Makefile +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/docs/make.bat +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/CHANGELOG.md +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/CONTRIBUTING.md +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/LICENSE.md +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/README.md +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/_static/logo.jpg +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/conf.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/docs/source/index.rst +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/__main__.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/animate.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/auto.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/border.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/cli.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/contrast.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/env.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/info.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/montage.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/resize.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/rotate.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/sharpen.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/fotolab/watermark.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/pyproject.toml +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/tests/__init__.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/tests/conftest.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/tests/test_env.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/tests/test_help_flag.py +0 -0
- {fotolab-0.16.15 → fotolab-0.16.17}/tests/test_quiet_flag.py +0 -0
@@ -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
|
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
|
```
|
@@ -139,11 +139,11 @@
|
|
139
139
|
},
|
140
140
|
"certifi": {
|
141
141
|
"hashes": [
|
142
|
-
"sha256:
|
143
|
-
"sha256:
|
142
|
+
"sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8",
|
143
|
+
"sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"
|
144
144
|
],
|
145
145
|
"markers": "python_version >= '3.6'",
|
146
|
-
"version": "==2024.
|
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:
|
448
|
-
"sha256:
|
447
|
+
"sha256:050b4e5baadcd44d760cedbd2b8e639f2ff89bbc7a5730fcc662954303377aac",
|
448
|
+
"sha256:d838c2c0ed6fced7693d5e8ab8e734d5f8fda53a039c0164afb0b82e771e3603"
|
449
449
|
],
|
450
|
-
"markers": "python_version >= '3.
|
451
|
-
"version": "==3.
|
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:
|
891
|
-
"sha256:
|
890
|
+
"sha256:8f8281654ddf5709875429b7120d367f4edee39a131e13d5806e4f779a81bf0f",
|
891
|
+
"sha256:c9774d47e7d304cf975e073df49ebf19763dca94ac0295e7013b522b26cb18de"
|
892
892
|
],
|
893
893
|
"index": "pypi",
|
894
|
-
"markers": "python_version >= '3.
|
895
|
-
"version": "==2.
|
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:
|
982
|
-
"sha256:
|
981
|
+
"sha256:9960cd8967c8f85a56f920d5d507274e74f9ff813a0ab8889a5b5be2daf44064",
|
982
|
+
"sha256:c22b14cc4763c5a5b04134207736c107db42e9d3ef2d9779d465f5f1bcba572b"
|
983
983
|
],
|
984
984
|
"markers": "python_version >= '3.8'",
|
985
|
-
"version": "==3.20.
|
985
|
+
"version": "==3.20.1"
|
986
986
|
}
|
987
987
|
}
|
988
988
|
}
|
@@ -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
|
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(
|
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(
|
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
|
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
|