Compare commits

...

125 Commits

Author SHA1 Message Date
f70f8cf5f3 Update dependency mypy to v1.14.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m6s
Tests / test (3.11) (pull_request) Successful in 1m4s
Tests / test (3.12) (pull_request) Successful in 1m4s
Tests / test (3.9) (pull_request) Successful in 1m2s
Tests / test (3.10) (push) Successful in 1m14s
Tests / test (3.11) (push) Successful in 1m47s
Tests / test (3.12) (push) Successful in 1m3s
Tests / test (3.9) (push) Successful in 1m3s
2024-12-20 17:47:44 +02:00
c59c9e4e86 Update dependency pylint to v3.3.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m4s
Tests / test (3.11) (pull_request) Successful in 1m7s
Tests / test (3.12) (pull_request) Successful in 1m7s
Tests / test (3.9) (pull_request) Successful in 1m4s
Tests / test (3.10) (push) Successful in 1m9s
Tests / test (3.11) (push) Successful in 1m2s
Tests / test (3.12) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m5s
2024-12-01 21:32:32 +02:00
03cdc888bb Update dependency pytest to v8.3.4
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m0s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.12) (pull_request) Successful in 1m0s
Tests / test (3.9) (pull_request) Successful in 1m1s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m4s
Tests / test (3.12) (push) Successful in 1m3s
Tests / test (3.9) (push) Successful in 1m0s
2024-12-01 15:17:03 +02:00
ed08a75ed5 Update dependency twine to v6.0.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m2s
Tests / test (3.11) (pull_request) Successful in 1m3s
Tests / test (3.12) (pull_request) Successful in 1m4s
Tests / test (3.9) (pull_request) Successful in 1m0s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 59s
Tests / test (3.12) (push) Successful in 1m0s
Tests / test (3.9) (push) Successful in 1m1s
2024-12-01 03:50:00 +02:00
31ae0342f7 Update dependency twine to v6
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m3s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.12) (pull_request) Successful in 1m5s
Tests / test (3.9) (pull_request) Successful in 1m0s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m1s
Tests / test (3.12) (push) Successful in 1m4s
Tests / test (3.9) (push) Successful in 1m1s
2024-11-30 18:27:17 +02:00
688b735285 Update .renovaterc
All checks were successful
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m1s
Tests / test (3.12) (push) Successful in 1m4s
Tests / test (3.9) (push) Successful in 1m1s
2024-11-02 20:51:07 +02:00
8581c4f4e8 Merge pull request 'revert 2bed5454def86302041320f0ec392545e70f4058' (#95) from renovate/numpy-2.x into master
All checks were successful
Tests / test (3.10) (push) Successful in 1m5s
Tests / test (3.11) (push) Successful in 1m2s
Tests / test (3.12) (push) Successful in 1m7s
Tests / test (3.9) (push) Successful in 1m5s
Reviewed-on: #95
2024-11-02 20:24:35 +02:00
c23fbf1e76 revert 2bed5454de
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m3s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.12) (pull_request) Successful in 1m3s
Tests / test (3.9) (pull_request) Successful in 1m2s
revert Update dependency numpy to ~=2.1.3,<2.2.0
2024-11-02 20:07:32 +02:00
2bed5454de Update dependency numpy to ~=2.1.3,<2.2.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m9s
Tests / test (3.11) (pull_request) Successful in 1m5s
Tests / test (3.12) (pull_request) Successful in 1m5s
Tests / test (3.9) (pull_request) Failing after 13s
Tests / test (3.10) (push) Successful in 1m4s
Tests / test (3.11) (push) Successful in 1m1s
Tests / test (3.12) (push) Successful in 1m4s
Tests / test (3.9) (push) Failing after 13s
2024-11-02 19:46:41 +02:00
23d6abe96e Update dependency pytest-cov to v6
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m3s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.12) (pull_request) Successful in 1m5s
Tests / test (3.9) (pull_request) Successful in 1m4s
Tests / test (3.10) (push) Successful in 1m2s
Tests / test (3.11) (push) Successful in 1m2s
Tests / test (3.12) (push) Successful in 1m5s
Tests / test (3.9) (push) Successful in 1m2s
2024-10-29 22:24:50 +02:00
17e44afa19 Merge pull request 'Update dependency mypy to v1.13.0' (#92) from renovate/mypy-1.x into master
All checks were successful
Tests / test (3.10) (push) Successful in 1m0s
Tests / test (3.11) (push) Successful in 58s
Tests / test (3.12) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m0s
Reviewed-on: #92
2024-10-23 02:12:36 +03:00
67689bf33e Update dependency mypy to v1.13.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m8s
Tests / test (3.11) (pull_request) Successful in 1m18s
Tests / test (3.12) (pull_request) Successful in 1m12s
Tests / test (3.9) (pull_request) Successful in 1m6s
2024-10-23 01:28:14 +03:00
023dc54c1b Update dependency tox to v4.23.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 59s
Tests / test (3.11) (pull_request) Successful in 58s
Tests / test (3.12) (pull_request) Successful in 1m1s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 1m1s
Tests / test (3.11) (push) Successful in 59s
Tests / test (3.12) (push) Successful in 1m3s
Tests / test (3.9) (push) Successful in 59s
2024-10-22 18:11:31 +03:00
5e20e961f5 Update dependency tox to v4.23.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 59s
Tests / test (3.11) (pull_request) Successful in 1m0s
Tests / test (3.12) (pull_request) Successful in 1m1s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 1m2s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.12) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m0s
2024-10-22 08:50:23 +03:00
2d8b7e6f40 Update dependency mypy to v1.12.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m4s
Tests / test (3.11) (pull_request) Successful in 59s
Tests / test (3.12) (pull_request) Successful in 1m1s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 1m2s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.12) (push) Successful in 1m1s
Tests / test (3.9) (push) Successful in 1m0s
2024-10-20 04:00:23 +03:00
45b60a156b Update dependency tox to v4.23.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 58s
Tests / test (3.11) (pull_request) Successful in 58s
Tests / test (3.12) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 1m0s
Tests / test (3.10) (push) Successful in 59s
Tests / test (3.11) (push) Successful in 58s
Tests / test (3.12) (push) Successful in 1m0s
Tests / test (3.9) (push) Successful in 59s
2024-10-17 07:39:30 +03:00
98d0669b7e Update dependency tox to v4.22.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m0s
Tests / test (3.11) (pull_request) Successful in 1m0s
Tests / test (3.12) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 1m6s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.12) (push) Successful in 1m4s
Tests / test (3.9) (push) Successful in 1m3s
2024-10-15 22:29:23 +03:00
6b2efff54f Update dependency pillow to v11
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m6s
Tests / test (3.11) (pull_request) Successful in 1m0s
Tests / test (3.12) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 1m3s
Tests / test (3.10) (push) Successful in 1m1s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.12) (push) Successful in 1m4s
Tests / test (3.9) (push) Successful in 1m6s
2024-10-15 18:20:42 +03:00
4918d1c787 Update dependency mypy to v1.12.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 59s
Tests / test (3.11) (pull_request) Successful in 59s
Tests / test (3.12) (pull_request) Successful in 1m3s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.12) (push) Successful in 1m1s
Tests / test (3.9) (push) Successful in 59s
2024-10-14 15:21:23 +03:00
68d76b659c Update dependency black to v24.10.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m0s
Tests / test (3.11) (pull_request) Successful in 57s
Tests / test (3.12) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 58s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 58s
Tests / test (3.12) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 58s
2024-10-07 22:44:54 +03:00
24dd06cb30 revert 674316d539
All checks were successful
Tests / test (3.10) (push) Successful in 1m0s
Tests / test (3.11) (push) Successful in 1m10s
Tests / test (3.12) (push) Successful in 1m3s
Tests / test (3.9) (push) Successful in 59s
revert Update dependency numpy to ~=2.1.2,<2.2.0
2024-10-07 14:22:21 +03:00
674316d539 Update dependency numpy to ~=2.1.2,<2.2.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m1s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.12) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Failing after 12s
Tests / test (3.10) (push) Successful in 58s
Tests / test (3.11) (push) Successful in 1m12s
Tests / test (3.12) (push) Successful in 59s
Tests / test (3.9) (push) Failing after 13s
2024-10-07 14:03:24 +03:00
2459f61a4e Merge pull request 'Update dependency build to v1.2.2.post1' (#82) from renovate/build-1.x into master
All checks were successful
Tests / test (3.10) (push) Successful in 1m0s
Tests / test (3.11) (push) Successful in 59s
Tests / test (3.12) (push) Successful in 1m5s
Tests / test (3.9) (push) Successful in 1m2s
Reviewed-on: #82
2024-10-07 13:27:50 +03:00
892f37cda4 Probably fixed Python 3.12 support
All checks were successful
Tests / test (3.10) (push) Successful in 1m5s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.12) (push) Successful in 1m7s
Tests / test (3.9) (push) Successful in 1m0s
2024-10-07 10:22:57 +00:00
59abcd9c87 Update dependency build to v1.2.2.post1
Some checks failed
Tests / test (3.10) (pull_request) Successful in 58s
Tests / test (3.11) (pull_request) Successful in 1m0s
Tests / test (3.12) (pull_request) Failing after 19s
Tests / test (3.9) (pull_request) Successful in 59s
2024-10-06 21:19:22 +03:00
1a07888096 Update dependency tox to v4.21.2
Some checks failed
Tests / test (3.10) (pull_request) Successful in 58s
Tests / test (3.11) (pull_request) Successful in 56s
Tests / test (3.12) (pull_request) Failing after 21s
Tests / test (3.9) (pull_request) Successful in 57s
Tests / test (3.10) (push) Successful in 58s
Tests / test (3.11) (push) Successful in 56s
Tests / test (3.12) (push) Failing after 20s
Tests / test (3.9) (push) Successful in 57s
2024-10-03 19:11:35 +03:00
975d3bc619 Update dependency tox to v4.21.1
Some checks failed
Tests / test (3.10) (pull_request) Successful in 57s
Tests / test (3.11) (pull_request) Successful in 56s
Tests / test (3.12) (pull_request) Failing after 20s
Tests / test (3.9) (pull_request) Successful in 57s
Tests / test (3.10) (push) Successful in 57s
Tests / test (3.11) (push) Successful in 57s
Tests / test (3.12) (push) Failing after 20s
Tests / test (3.9) (push) Successful in 57s
2024-10-03 00:22:58 +03:00
2133888d2b Fixed typo in envlist
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m1s
Tests / test (3.11) (pull_request) Successful in 59s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 1m1s
Tests / test (3.11) (push) Successful in 59s
Tests / test (3.12) (push) Failing after 19s
Tests / test (3.9) (push) Successful in 59s
Tests / test (3.12) (pull_request) Failing after 19s
2024-10-01 19:58:17 +03:00
256eca47f5 Update dependency tox to v4.21.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 10s
Tests / test (3.11) (pull_request) Failing after 9s
Tests / test (3.12) (pull_request) Failing after 9s
Tests / test (3.9) (pull_request) Failing after 10s
2024-10-01 07:39:24 +03:00
c3c35394ff Update pyproject.toml
Some checks failed
Tests / test (3.10) (push) Failing after 10s
Tests / test (3.11) (push) Failing after 9s
Tests / test (3.12) (push) Failing after 10s
Tests / test (3.9) (push) Failing after 9s
2024-09-24 16:53:58 +03:00
091f30bcb2 Removed Python 3.8 and added 3.12 support
Some checks failed
Tests / test (3.10) (push) Failing after 10s
Tests / test (3.11) (push) Failing after 10s
Tests / test (3.12) (push) Failing after 10s
Tests / test (3.9) (push) Failing after 9s
2024-09-24 16:51:42 +03:00
8d68bf2681 Removed Python 3.8 and added 3.12 support
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.12) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
2024-09-24 16:51:05 +03:00
e1149c43de Merge pull request 'Update dependency pylint to v3.3.1' (#78) from renovate/pylint-3.x into master
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #78
2024-09-24 16:50:22 +03:00
19cdf9b600 Update dependency pylint to v3.3.1
Some checks failed
Tests / test (3.10) (pull_request) Successful in 58s
Tests / test (3.11) (pull_request) Successful in 57s
Tests / test (3.8) (pull_request) Failing after 14s
Tests / test (3.9) (pull_request) Successful in 58s
2024-09-24 15:11:05 +03:00
b5d2d4befb Update dependency pylint to v3.3.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m1s
Tests / test (3.11) (pull_request) Successful in 57s
Tests / test (3.8) (pull_request) Failing after 15s
Tests / test (3.9) (pull_request) Successful in 1m10s
Tests / test (3.10) (push) Successful in 1m0s
Tests / test (3.11) (push) Successful in 1m1s
Tests / test (3.8) (push) Failing after 18s
Tests / test (3.9) (push) Successful in 59s
2024-09-20 16:22:21 +03:00
a6b60f5c93 Update dependency tox to v4.20.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 59s
Tests / test (3.11) (pull_request) Successful in 56s
Tests / test (3.8) (pull_request) Successful in 59s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 57s
Tests / test (3.11) (push) Successful in 57s
Tests / test (3.8) (push) Successful in 57s
Tests / test (3.9) (push) Successful in 56s
2024-09-19 06:56:09 +03:00
ff870bf0ee Update dependency tox to v4.19.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m0s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.8) (pull_request) Successful in 59s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 1m1s
Tests / test (3.11) (push) Successful in 58s
Tests / test (3.8) (push) Successful in 58s
Tests / test (3.9) (push) Successful in 59s
2024-09-17 22:31:41 +03:00
20f15e3c39 Update dependency pytest to v8.3.3
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m3s
Tests / test (3.11) (pull_request) Successful in 1m6s
Tests / test (3.8) (pull_request) Successful in 59s
Tests / test (3.9) (pull_request) Successful in 1m2s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m10s
Tests / test (3.8) (push) Successful in 59s
Tests / test (3.9) (push) Successful in 1m0s
2024-09-10 14:28:17 +03:00
c319910223 Update dependency tox to v4.18.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 57s
Tests / test (3.11) (pull_request) Successful in 57s
Tests / test (3.8) (pull_request) Successful in 59s
Tests / test (3.9) (pull_request) Successful in 58s
Tests / test (3.10) (push) Successful in 58s
Tests / test (3.11) (push) Successful in 57s
Tests / test (3.8) (push) Successful in 57s
Tests / test (3.9) (push) Successful in 58s
2024-09-07 19:48:21 +03:00
2ac68fdf5d Update dependency build to v1.2.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 57s
Tests / test (3.11) (pull_request) Successful in 57s
Tests / test (3.8) (pull_request) Successful in 57s
Tests / test (3.9) (pull_request) Successful in 57s
Tests / test (3.10) (push) Successful in 57s
Tests / test (3.11) (push) Successful in 56s
Tests / test (3.8) (push) Successful in 59s
Tests / test (3.9) (push) Successful in 57s
2024-09-07 00:00:08 +03:00
d2c9721554 Update dependency pylint to v3.2.7
All checks were successful
Tests / test (3.10) (pull_request) Successful in 58s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 59s
Tests / test (3.9) (pull_request) Successful in 58s
Tests / test (3.10) (push) Successful in 58s
Tests / test (3.11) (push) Successful in 58s
Tests / test (3.8) (push) Successful in 1m0s
Tests / test (3.9) (push) Successful in 59s
2024-08-31 18:05:30 +03:00
eb5d19fd6d Update dependency mypy to v1.11.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 57s
Tests / test (3.11) (pull_request) Successful in 58s
Tests / test (3.8) (pull_request) Successful in 57s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 58s
Tests / test (3.11) (push) Successful in 58s
Tests / test (3.8) (push) Successful in 58s
Tests / test (3.9) (push) Successful in 58s
2024-08-25 02:14:54 +03:00
0d897ed5c4 Update dependency tox to v4.18.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 59s
Tests / test (3.11) (pull_request) Successful in 58s
Tests / test (3.8) (pull_request) Successful in 1m1s
Tests / test (3.9) (pull_request) Successful in 1m0s
Tests / test (3.10) (push) Successful in 1m5s
Tests / test (3.11) (push) Successful in 1m3s
Tests / test (3.8) (push) Successful in 1m1s
Tests / test (3.9) (push) Successful in 1m1s
2024-08-13 20:32:29 +03:00
8241067b5f Update dependency tox to v4.17.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m1s
Tests / test (3.11) (pull_request) Successful in 59s
Tests / test (3.8) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 1m32s
Tests / test (3.10) (push) Successful in 1m0s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.8) (push) Successful in 1m0s
Tests / test (3.9) (push) Successful in 59s
2024-08-07 21:22:18 +03:00
48970635dc Merge pull request 'Update dependency tox to v4.17.0' (#67) from renovate/tox-4.x into master
All checks were successful
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m33s
Tests / test (3.8) (push) Successful in 1m1s
Tests / test (3.9) (push) Successful in 1m1s
Reviewed-on: #67
2024-08-06 00:38:15 +03:00
77afd9ebf2 Update dependency tox to v4.17.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m35s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 1m0s
Tests / test (3.9) (pull_request) Successful in 1m37s
2024-08-05 23:46:24 +03:00
80e6970f68 Update dependency black to v24.8.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m28s
Tests / test (3.11) (pull_request) Successful in 1m3s
Tests / test (3.8) (pull_request) Successful in 1m35s
Tests / test (3.9) (pull_request) Successful in 1m34s
Tests / test (3.10) (push) Successful in 1m8s
Tests / test (3.11) (push) Successful in 1m5s
Tests / test (3.8) (push) Successful in 1m3s
Tests / test (3.9) (push) Successful in 1m2s
2024-08-02 21:37:14 +03:00
9831f5dafa Merge pull request 'Update dependency mypy to v1.11.1' (#65) from renovate/mypy-1.x into master
All checks were successful
Tests / test (3.10) (push) Successful in 1m28s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.8) (push) Successful in 1m1s
Tests / test (3.9) (push) Successful in 1m14s
Reviewed-on: #65
2024-07-31 02:12:59 +03:00
a13e53c52f Update dependency mypy to v1.11.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m3s
Tests / test (3.11) (pull_request) Successful in 1m5s
Tests / test (3.8) (pull_request) Successful in 1m31s
Tests / test (3.9) (pull_request) Successful in 1m1s
2024-07-31 01:53:36 +03:00
c7d970a37a Update dependency pytest to v8.3.2
All checks were successful
Tests / test (3.10) (push) Successful in 1m12s
Tests / test (3.11) (push) Successful in 1m2s
Tests / test (3.8) (push) Successful in 1m3s
Tests / test (3.9) (push) Successful in 1m3s
Tests / test (3.10) (pull_request) Successful in 1m4s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 1m10s
Tests / test (3.9) (pull_request) Successful in 1m6s
2024-07-25 13:42:50 +03:00
0622ae95b1 Merge pull request 'Downgrade numpy to ~=1.24.0' (#63) from profitroll/numpy-1.24.0 into master
All checks were successful
Tests / test (3.10) (push) Successful in 1m6s
Tests / test (3.11) (push) Successful in 1m3s
Tests / test (3.8) (push) Successful in 1m5s
Tests / test (3.9) (push) Successful in 1m58s
Reviewed-on: #63
2024-07-22 20:51:23 +03:00
65f54366fb Downgrade numpy to ~=1.24.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m9s
Tests / test (3.11) (pull_request) Successful in 1m7s
Tests / test (3.8) (pull_request) Successful in 1m6s
Tests / test (3.9) (pull_request) Successful in 1m4s
2024-07-22 20:42:37 +03:00
615b19e0d7 Update dependency pylint to v3.2.6
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m49s
Tests / test (3.11) (pull_request) Successful in 1m0s
Tests / test (3.8) (pull_request) Failing after 13s
Tests / test (3.9) (pull_request) Successful in 1m0s
Tests / test (3.10) (push) Successful in 1m42s
Tests / test (3.11) (push) Successful in 58s
Tests / test (3.8) (push) Failing after 12s
Tests / test (3.9) (push) Successful in 58s
2024-07-21 23:08:08 +03:00
243077b291 Update dependency pytest to v8.3.1
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m0s
Tests / test (3.11) (pull_request) Successful in 58s
Tests / test (3.8) (pull_request) Failing after 13s
Tests / test (3.9) (pull_request) Successful in 1m1s
Tests / test (3.10) (push) Successful in 1m1s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.8) (push) Failing after 14s
Tests / test (3.9) (push) Successful in 1m0s
2024-07-20 19:39:24 +03:00
69acf14e49 Update dependency pytest to v8.3.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m0s
Tests / test (3.11) (pull_request) Successful in 59s
Tests / test (3.8) (pull_request) Failing after 13s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 1m1s
Tests / test (3.11) (push) Successful in 1m27s
Tests / test (3.8) (push) Failing after 12s
Tests / test (3.9) (push) Successful in 1m0s
2024-07-20 18:35:35 +03:00
121e9b9dff Update dependency mypy to v1.11.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m1s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Failing after 13s
Tests / test (3.9) (pull_request) Successful in 1m20s
Tests / test (3.10) (push) Successful in 2m11s
Tests / test (3.11) (push) Successful in 1m9s
Tests / test (3.8) (push) Failing after 13s
Tests / test (3.9) (push) Successful in 1m46s
2024-07-19 21:29:43 +03:00
16353d913b Update dependency tox to v4.16.0 (#58)
Some checks failed
Tests / test (3.10) (push) Successful in 57s
Tests / test (3.11) (push) Successful in 56s
Tests / test (3.8) (push) Failing after 13s
Tests / test (3.9) (push) Successful in 56s
2024-07-03 08:48:02 +03:00
f9a76f6b12 Update dependency tox to v4.16.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 57s
Tests / test (3.11) (pull_request) Successful in 1m21s
Tests / test (3.8) (pull_request) Failing after 13s
Tests / test (3.9) (pull_request) Successful in 57s
2024-07-03 07:05:20 +03:00
4e7d17d42a Update dependency pillow to ~=10.4.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m8s
Tests / test (3.11) (pull_request) Successful in 1m42s
Tests / test (3.8) (pull_request) Failing after 14s
Tests / test (3.9) (pull_request) Successful in 1m36s
Tests / test (3.10) (push) Successful in 57s
Tests / test (3.11) (push) Successful in 58s
Tests / test (3.8) (push) Failing after 12s
Tests / test (3.9) (push) Successful in 58s
2024-07-01 13:09:05 +03:00
d17b9f761d Update dependency pylint to v3.2.5
Some checks failed
Tests / test (3.10) (pull_request) Successful in 58s
Tests / test (3.11) (pull_request) Successful in 57s
Tests / test (3.8) (pull_request) Failing after 12s
Tests / test (3.9) (pull_request) Successful in 57s
Tests / test (3.10) (push) Successful in 59s
Tests / test (3.11) (push) Successful in 56s
Tests / test (3.8) (push) Failing after 12s
Tests / test (3.9) (push) Successful in 56s
2024-06-28 17:03:15 +03:00
d56a5a2094 Update dependency twine to v5.1.1
Some checks failed
Tests / test (3.10) (pull_request) Successful in 57s
Tests / test (3.11) (pull_request) Successful in 57s
Tests / test (3.8) (pull_request) Failing after 12s
Tests / test (3.9) (pull_request) Successful in 58s
Tests / test (3.10) (push) Successful in 58s
Tests / test (3.11) (push) Successful in 57s
Tests / test (3.8) (push) Failing after 12s
Tests / test (3.9) (push) Successful in 56s
2024-06-26 18:52:45 +03:00
dba5d57bb3 Update dependency pylint to v3.2.4
Some checks failed
Tests / test (3.10) (pull_request) Successful in 58s
Tests / test (3.11) (pull_request) Successful in 1m27s
Tests / test (3.8) (pull_request) Failing after 11s
Tests / test (3.9) (pull_request) Successful in 59s
Tests / test (3.10) (push) Successful in 58s
Tests / test (3.11) (push) Successful in 57s
Tests / test (3.8) (push) Failing after 13s
Tests / test (3.9) (push) Successful in 1m0s
2024-06-26 11:26:10 +03:00
f45928dffa Update dependency mypy to v1.10.1
Some checks failed
Tests / test (3.10) (pull_request) Successful in 56s
Tests / test (3.11) (pull_request) Successful in 58s
Tests / test (3.8) (pull_request) Failing after 11s
Tests / test (3.9) (pull_request) Successful in 58s
Tests / test (3.10) (push) Successful in 56s
Tests / test (3.11) (push) Successful in 55s
Tests / test (3.8) (push) Failing after 12s
Tests / test (3.9) (push) Successful in 57s
2024-06-25 03:39:48 +03:00
d5447ceaa3 Update dependency numpy to v2
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m15s
Tests / test (3.11) (pull_request) Successful in 1m6s
Tests / test (3.8) (pull_request) Failing after 13s
Tests / test (3.9) (pull_request) Successful in 1m19s
Tests / test (3.10) (push) Successful in 1m4s
Tests / test (3.11) (push) Successful in 1m27s
Tests / test (3.8) (push) Failing after 12s
Tests / test (3.9) (push) Successful in 1m4s
2024-06-16 16:30:09 +03:00
2092cf8980 Update dependency pylint to v3.2.3
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m2s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.8) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 1m39s
Tests / test (3.10) (push) Successful in 1m2s
Tests / test (3.11) (push) Successful in 1m3s
Tests / test (3.8) (push) Successful in 1m3s
Tests / test (3.9) (push) Successful in 1m34s
2024-06-06 18:02:09 +03:00
e49b1ffc5d Update dependency tox to v4.15.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m4s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 1m7s
Tests / test (3.9) (pull_request) Successful in 1m5s
Tests / test (3.10) (push) Successful in 1m6s
Tests / test (3.11) (push) Successful in 1m3s
Tests / test (3.8) (push) Successful in 1m5s
Tests / test (3.9) (push) Successful in 1m25s
2024-06-06 04:18:25 +03:00
b162b46bd2 Update dependency pytest to v8.2.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m50s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 1m3s
Tests / test (3.9) (pull_request) Successful in 1m3s
Tests / test (3.10) (push) Successful in 1m7s
Tests / test (3.11) (push) Successful in 1m3s
Tests / test (3.8) (push) Successful in 1m44s
Tests / test (3.9) (push) Successful in 1m3s
2024-06-04 17:25:54 +03:00
241077b709 Update dependency pylint to v3.2.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m2s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 1m1s
Tests / test (3.9) (pull_request) Successful in 1m47s
Tests / test (3.10) (push) Successful in 1m4s
Tests / test (3.11) (push) Successful in 1m1s
Tests / test (3.8) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m2s
2024-05-20 11:10:03 +03:00
59d22aefb7 Update dependency pytest to v8.2.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m1s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 1m44s
Tests / test (3.10) (push) Successful in 1m2s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.8) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m3s
2024-05-19 22:26:57 +03:00
4d4eda14db Update dependency pylint to v3.2.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m48s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.8) (pull_request) Successful in 1m4s
Tests / test (3.9) (pull_request) Successful in 1m2s
Tests / test (3.10) (push) Successful in 1m2s
Tests / test (3.11) (push) Successful in 1m2s
Tests / test (3.8) (push) Successful in 1m1s
Tests / test (3.9) (push) Successful in 1m1s
2024-05-18 20:18:01 +03:00
9ce42fb912 Update dependency twine to v5.1.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m4s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 1m3s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m4s
Tests / test (3.8) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m4s
2024-05-16 17:09:16 +03:00
615fca107f Update dependency pylint to v3.2.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m10s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 1m3s
Tests / test (3.9) (pull_request) Successful in 1m3s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m1s
Tests / test (3.8) (push) Successful in 1m51s
Tests / test (3.9) (push) Successful in 1m4s
2024-05-14 15:03:25 +03:00
9d11271eb0 Update dependency pylint to v3.1.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m44s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.8) (pull_request) Successful in 1m52s
Tests / test (3.9) (pull_request) Successful in 1m46s
Tests / test (3.10) (push) Successful in 1m4s
Tests / test (3.11) (push) Successful in 1m1s
Tests / test (3.8) (push) Successful in 1m48s
Tests / test (3.9) (push) Successful in 1m2s
2024-05-13 18:08:16 +03:00
ac47cc88d0 Update dependency pytest to v8.2.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m1s
Tests / test (3.11) (pull_request) Successful in 59s
Tests / test (3.8) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 1m1s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.8) (push) Successful in 1m3s
Tests / test (3.9) (push) Successful in 1m4s
2024-04-28 03:27:18 +03:00
c3e9e8dccb Update dependency tox to v4.15.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m2s
Tests / test (3.11) (pull_request) Successful in 1m2s
Tests / test (3.8) (pull_request) Successful in 1m2s
Tests / test (3.9) (pull_request) Successful in 1m2s
Tests / test (3.10) (push) Successful in 1m4s
Tests / test (3.11) (push) Successful in 1m36s
Tests / test (3.8) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m2s
2024-04-26 22:20:10 +03:00
46c6761cc5 Update dependency pytest to v8.1.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m3s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.8) (pull_request) Successful in 1m38s
Tests / test (3.9) (pull_request) Successful in 1m40s
Tests / test (3.10) (push) Successful in 1m33s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.8) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m2s
2024-04-26 21:17:09 +03:00
0994c427bb Update dependency black to v24.4.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m1s
Tests / test (3.11) (pull_request) Successful in 1m0s
Tests / test (3.8) (pull_request) Successful in 1m3s
Tests / test (3.9) (pull_request) Successful in 1m2s
Tests / test (3.10) (push) Successful in 1m1s
Tests / test (3.11) (push) Successful in 1m5s
Tests / test (3.8) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m27s
2024-04-26 03:37:12 +03:00
cef700b640 Update dependency black to v24.4.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m2s
Tests / test (3.11) (pull_request) Successful in 1m0s
Tests / test (3.8) (pull_request) Successful in 1m1s
Tests / test (3.9) (pull_request) Successful in 1m3s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m38s
Tests / test (3.8) (push) Successful in 1m2s
Tests / test (3.9) (push) Successful in 1m3s
2024-04-24 18:20:01 +03:00
402ded7df6 Update dependency mypy to v1.10.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m3s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.8) (pull_request) Successful in 1m4s
Tests / test (3.9) (pull_request) Successful in 1m39s
Tests / test (3.10) (push) Successful in 1m4s
Tests / test (3.11) (push) Successful in 1m35s
Tests / test (3.8) (push) Successful in 1m3s
Tests / test (3.9) (push) Successful in 1m2s
2024-04-24 17:16:59 +03:00
9a496c99f3 Update dependency black to v24.4.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m2s
Tests / test (3.11) (pull_request) Successful in 1m0s
Tests / test (3.8) (pull_request) Successful in 1m5s
Tests / test (3.9) (pull_request) Successful in 1m3s
Tests / test (3.10) (push) Successful in 1m3s
Tests / test (3.11) (push) Successful in 1m0s
Tests / test (3.8) (push) Successful in 1m1s
Tests / test (3.9) (push) Successful in 1m3s
2024-04-12 23:29:55 +03:00
f7977f42f2 Update dependency pillow to ~=10.3.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m1s
Tests / test (3.11) (pull_request) Successful in 1m1s
Tests / test (3.8) (pull_request) Successful in 1m1s
Tests / test (3.9) (pull_request) Successful in 1m1s
Tests / test (3.10) (push) Successful in 1m4s
Tests / test (3.11) (push) Successful in 1m1s
Tests / test (3.8) (push) Successful in 1m26s
Tests / test (3.9) (push) Successful in 1m19s
2024-04-01 15:26:41 +03:00
d577c598b3 Update dependency build to v1.2.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m22s
Tests / test (3.11) (pull_request) Successful in 1m20s
Tests / test (3.8) (pull_request) Successful in 1m23s
Tests / test (3.9) (pull_request) Successful in 1m24s
Tests / test (3.10) (push) Successful in 1m31s
Tests / test (3.11) (push) Successful in 1m20s
Tests / test (3.8) (push) Successful in 1m23s
Tests / test (3.9) (push) Successful in 1m22s
2024-03-28 17:34:19 +02:00
e172e35703 Update dependency pytest-cov to v5
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m24s
Tests / test (3.11) (pull_request) Successful in 1m21s
Tests / test (3.8) (pull_request) Successful in 1m22s
Tests / test (3.9) (pull_request) Successful in 1m24s
Tests / test (3.10) (push) Successful in 1m24s
Tests / test (3.11) (push) Successful in 1m21s
Tests / test (3.8) (push) Successful in 1m20s
Tests / test (3.9) (push) Successful in 1m23s
2024-03-24 23:11:52 +02:00
260ed5bcfc Update dependency tox to v4.14.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m22s
Tests / test (3.11) (pull_request) Successful in 1m20s
Tests / test (3.8) (pull_request) Successful in 1m23s
Tests / test (3.9) (pull_request) Successful in 1m24s
Tests / test (3.10) (push) Successful in 1m25s
Tests / test (3.11) (push) Successful in 1m21s
Tests / test (3.8) (push) Successful in 1m23s
Tests / test (3.9) (push) Successful in 1m23s
2024-03-22 18:16:19 +02:00
5135d0c6c4 Update dependency black to v24.3.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m28s
Tests / test (3.11) (pull_request) Successful in 1m21s
Tests / test (3.8) (pull_request) Successful in 1m23s
Tests / test (3.9) (pull_request) Successful in 1m22s
Tests / test (3.10) (push) Successful in 1m22s
Tests / test (3.11) (push) Successful in 1m20s
Tests / test (3.8) (push) Successful in 1m23s
Tests / test (3.9) (push) Successful in 1m21s
2024-03-15 22:20:24 +02:00
c1fc483a43 Update dependency pytest to v8.1.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m23s
Tests / test (3.11) (pull_request) Successful in 1m20s
Tests / test (3.8) (pull_request) Successful in 1m21s
Tests / test (3.9) (pull_request) Successful in 1m24s
Tests / test (3.10) (push) Successful in 1m24s
Tests / test (3.11) (push) Successful in 1m22s
Tests / test (3.8) (push) Successful in 1m22s
Tests / test (3.9) (push) Successful in 1m21s
2024-03-09 14:09:22 +02:00
1c24068dfa Update dependency mypy to v1.9.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m22s
Tests / test (3.11) (pull_request) Successful in 1m22s
Tests / test (3.8) (pull_request) Successful in 1m35s
Tests / test (3.9) (pull_request) Successful in 1m23s
Tests / test (3.10) (push) Successful in 1m22s
Tests / test (3.11) (push) Successful in 1m22s
Tests / test (3.8) (push) Successful in 1m26s
Tests / test (3.9) (push) Successful in 1m22s
2024-03-08 18:26:56 +02:00
c80aa596cb Update dependency tox to v4.14.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m23s
Tests / test (3.11) (pull_request) Successful in 1m20s
Tests / test (3.8) (pull_request) Successful in 1m23s
Tests / test (3.9) (pull_request) Successful in 1m22s
Tests / test (3.10) (push) Successful in 1m23s
Tests / test (3.11) (push) Successful in 1m19s
Tests / test (3.8) (push) Successful in 1m22s
Tests / test (3.9) (push) Successful in 1m23s
2024-03-06 21:51:18 +02:00
52ffea2b38 Update dependency tox to v4.14.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m21s
Tests / test (3.11) (pull_request) Successful in 1m17s
Tests / test (3.8) (pull_request) Successful in 1m19s
Tests / test (3.9) (pull_request) Successful in 1m20s
Tests / test (3.10) (push) Successful in 1m21s
Tests / test (3.11) (push) Successful in 1m17s
Tests / test (3.8) (push) Successful in 1m19s
Tests / test (3.9) (push) Successful in 1m21s
2024-03-06 02:11:24 +02:00
0d10000a75 Update dependency pytest to v8.1.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m22s
Tests / test (3.11) (pull_request) Successful in 1m18s
Tests / test (3.8) (pull_request) Successful in 1m19s
Tests / test (3.9) (pull_request) Successful in 1m22s
Tests / test (3.10) (push) Successful in 1m19s
Tests / test (3.11) (push) Successful in 1m18s
Tests / test (3.8) (push) Successful in 1m20s
Tests / test (3.9) (push) Successful in 1m20s
2024-03-03 23:26:51 +02:00
cf385bb357 Update dependency build to v1.1.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m23s
Tests / test (3.11) (pull_request) Successful in 1m20s
Tests / test (3.8) (pull_request) Successful in 1m24s
Tests / test (3.9) (pull_request) Successful in 1m21s
Tests / test (3.10) (push) Successful in 1m22s
Tests / test (3.11) (push) Successful in 1m19s
Tests / test (3.8) (push) Successful in 1m22s
Tests / test (3.9) (push) Successful in 1m21s
2024-02-29 23:32:04 +02:00
0dd343b933 Update dependency build to v1.1.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m23s
Tests / test (3.11) (pull_request) Successful in 1m22s
Tests / test (3.8) (pull_request) Successful in 1m23s
Tests / test (3.9) (pull_request) Successful in 1m24s
Tests / test (3.10) (push) Successful in 1m25s
Tests / test (3.11) (push) Successful in 1m22s
Tests / test (3.8) (push) Successful in 1m23s
Tests / test (3.9) (push) Successful in 1m25s
2024-02-29 19:20:34 +02:00
257e347746 Update dependency pylint to v3.1.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m27s
Tests / test (3.11) (pull_request) Successful in 1m23s
Tests / test (3.8) (pull_request) Successful in 1m23s
Tests / test (3.9) (pull_request) Successful in 1m25s
Tests / test (3.10) (push) Successful in 1m23s
Tests / test (3.11) (push) Successful in 1m19s
Tests / test (3.8) (push) Successful in 1m23s
Tests / test (3.9) (push) Successful in 1m23s
2024-02-25 19:05:30 +02:00
2763ed1ddd Update dependency pytest to v8.0.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m29s
Tests / test (3.11) (pull_request) Successful in 1m40s
Tests / test (3.8) (pull_request) Successful in 1m20s
Tests / test (3.9) (pull_request) Successful in 1m21s
Tests / test (3.10) (push) Successful in 1m25s
Tests / test (3.11) (push) Successful in 1m21s
Tests / test (3.8) (push) Successful in 1m22s
Tests / test (3.9) (push) Successful in 1m22s
2024-02-25 01:12:18 +02:00
b8039f8d86 Update dependency pylint to v3.0.4
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m22s
Tests / test (3.11) (pull_request) Successful in 1m22s
Tests / test (3.8) (pull_request) Successful in 1m22s
Tests / test (3.9) (pull_request) Successful in 1m21s
Tests / test (3.10) (push) Successful in 1m25s
Tests / test (3.11) (push) Successful in 2m25s
Tests / test (3.8) (push) Successful in 1m32s
Tests / test (3.9) (push) Successful in 1m31s
2024-02-23 23:54:52 +02:00
1e15399688 Update dependency tox to v4.13.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m21s
Tests / test (3.11) (pull_request) Successful in 1m19s
Tests / test (3.8) (pull_request) Successful in 1m19s
Tests / test (3.9) (pull_request) Successful in 1m19s
Tests / test (3.10) (push) Successful in 1m22s
Tests / test (3.11) (push) Successful in 1m19s
Tests / test (3.8) (push) Successful in 1m20s
Tests / test (3.9) (push) Successful in 1m21s
2024-02-17 03:10:35 +02:00
85473e7cc9 Update dependency pytest to v8.0.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m27s
Tests / test (3.11) (pull_request) Successful in 1m25s
Tests / test (3.8) (pull_request) Successful in 1m24s
Tests / test (3.9) (pull_request) Successful in 1m27s
Tests / test (3.10) (push) Successful in 1m22s
Tests / test (3.11) (push) Successful in 1m19s
Tests / test (3.8) (push) Successful in 1m18s
Tests / test (3.9) (push) Successful in 1m21s
2024-02-17 01:03:20 +02:00
6db3a8ec7d Update dependency black to v24.2.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m24s
Tests / test (3.11) (pull_request) Successful in 1m16s
Tests / test (3.8) (pull_request) Successful in 1m19s
Tests / test (3.9) (pull_request) Successful in 1m20s
Tests / test (3.10) (push) Successful in 1m20s
Tests / test (3.11) (push) Successful in 1m19s
Tests / test (3.8) (push) Successful in 1m23s
Tests / test (3.9) (push) Successful in 1m21s
2024-02-12 22:59:27 +02:00
8c830a2ef5 Update dependency twine to v5
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m20s
Tests / test (3.11) (pull_request) Successful in 1m19s
Tests / test (3.8) (pull_request) Successful in 1m22s
Tests / test (3.9) (pull_request) Successful in 1m22s
Tests / test (3.10) (push) Successful in 1m20s
Tests / test (3.11) (push) Successful in 1m17s
Tests / test (3.8) (push) Successful in 1m19s
Tests / test (3.9) (push) Successful in 1m22s
2024-02-11 22:43:58 +02:00
8c64353038 Update dependency black to v24.1.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m21s
Tests / test (3.11) (pull_request) Successful in 1m21s
Tests / test (3.8) (pull_request) Successful in 1m20s
Tests / test (3.9) (pull_request) Successful in 1m21s
Tests / test (3.10) (push) Successful in 1m21s
Tests / test (3.11) (push) Successful in 1m21s
Tests / test (3.8) (push) Successful in 1m19s
Tests / test (3.9) (push) Successful in 1m20s
2024-01-28 08:25:11 +02:00
3709595e43 Update dependency pytest to v8
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m23s
Tests / test (3.11) (pull_request) Successful in 1m23s
Tests / test (3.8) (pull_request) Successful in 1m23s
Tests / test (3.9) (pull_request) Successful in 1m28s
Tests / test (3.10) (push) Successful in 1m38s
Tests / test (3.11) (push) Successful in 1m54s
Tests / test (3.8) (push) Successful in 2m31s
Tests / test (3.9) (push) Successful in 2m15s
2024-01-27 23:59:48 +02:00
218b7d3203 Update dependency black to v24
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m23s
Tests / test (3.11) (pull_request) Successful in 1m22s
Tests / test (3.8) (pull_request) Successful in 1m20s
Tests / test (3.9) (pull_request) Successful in 1m23s
Tests / test (3.10) (push) Successful in 1m23s
Tests / test (3.11) (push) Successful in 1m23s
Tests / test (3.8) (push) Successful in 1m20s
Tests / test (3.9) (push) Successful in 1m21s
2024-01-26 08:06:14 +02:00
0b5d719072 Merge pull request 'Update dependency build to v1' (#9) from renovate/build-1.x into master
All checks were successful
Tests / test (3.10) (push) Successful in 1m33s
Tests / test (3.11) (push) Successful in 1m32s
Tests / test (3.8) (push) Successful in 1m28s
Tests / test (3.9) (push) Successful in 1m27s
Reviewed-on: #9
2024-01-22 00:05:48 +02:00
dd1592b3dd Merge pull request 'Update dependency pylint to v3' (#10) from renovate/pylint-3.x into master
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #10
2024-01-22 00:05:33 +02:00
60b56dbaa9 Update dependency pylint to v3
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m31s
Tests / test (3.11) (pull_request) Successful in 1m31s
Tests / test (3.8) (pull_request) Successful in 1m27s
Tests / test (3.9) (pull_request) Successful in 1m24s
2024-01-21 23:17:38 +02:00
25f9f2a3ec Update dependency build to v1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m29s
Tests / test (3.11) (pull_request) Successful in 1m30s
Tests / test (3.8) (pull_request) Successful in 1m30s
Tests / test (3.9) (pull_request) Successful in 1m29s
2024-01-21 23:17:34 +02:00
2dd2bcf5c7 Update dependency tox to v4.12.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m34s
Tests / test (3.11) (pull_request) Successful in 2m8s
Tests / test (3.8) (pull_request) Successful in 1m36s
Tests / test (3.9) (pull_request) Successful in 1m37s
Tests / test (3.10) (push) Successful in 1m40s
Tests / test (3.11) (push) Successful in 1m33s
Tests / test (3.8) (push) Successful in 1m27s
Tests / test (3.9) (push) Successful in 1m28s
2024-01-21 22:14:00 +02:00
c9e16ea6da Update dependency mypy to v1.8.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m23s
Tests / test (3.11) (pull_request) Successful in 1m26s
Tests / test (3.8) (pull_request) Successful in 1m24s
Tests / test (3.9) (pull_request) Successful in 1m24s
Tests / test (3.10) (push) Successful in 1m54s
Tests / test (3.11) (push) Successful in 1m36s
Tests / test (3.8) (push) Successful in 1m32s
Tests / test (3.9) (push) Successful in 1m34s
2024-01-21 21:10:14 +02:00
8b133c8af1 Update dependency isort to v5.13.2
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m24s
Tests / test (3.11) (pull_request) Successful in 1m24s
Tests / test (3.8) (pull_request) Successful in 1m23s
Tests / test (3.9) (pull_request) Successful in 1m22s
Tests / test (3.10) (push) Successful in 1m36s
Tests / test (3.11) (push) Successful in 1m30s
Tests / test (3.8) (push) Successful in 1m23s
Tests / test (3.9) (push) Successful in 1m25s
2024-01-21 20:06:51 +02:00
b64619d22e Update dependency black to v23.12.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m32s
Tests / test (3.11) (pull_request) Successful in 1m25s
Tests / test (3.8) (pull_request) Successful in 1m23s
Tests / test (3.9) (pull_request) Successful in 1m25s
Tests / test (3.10) (push) Successful in 1m35s
Tests / test (3.11) (push) Successful in 1m27s
Tests / test (3.8) (push) Successful in 1m25s
Tests / test (3.9) (push) Successful in 1m25s
2024-01-21 19:03:40 +02:00
8f222f1cb8 Merge pull request 'Update dependency pylint to v2.17.7' (#1) from renovate/pylint-2.x into master
All checks were successful
Tests / test (3.10) (push) Successful in 1m23s
Tests / test (3.11) (push) Successful in 1m22s
Tests / test (3.8) (push) Successful in 1m23s
Tests / test (3.9) (push) Successful in 1m23s
Reviewed-on: #1
2024-01-21 18:31:05 +02:00
0a395afd24 Merge pull request 'Update dependency pytest to v7.4.4' (#2) from renovate/pytest-7.x into master
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #2
2024-01-21 18:30:57 +02:00
e7a098bdf5
RGB mode fixed
Some checks failed
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Successful in 1m26s
Tests / test (3.11) (push) Has been cancelled
2024-01-21 17:28:57 +01:00
b67b23036d
Image mode won't be attempted to be set
Some checks failed
Tests / test (3.10) (push) Failing after 1m23s
Tests / test (3.11) (push) Failing after 1m26s
Tests / test (3.8) (push) Failing after 1m22s
Tests / test (3.9) (push) Failing after 1m23s
2024-01-21 17:05:48 +01:00
d5f4bd79be Update dependency pytest to v7.4.4
Some checks failed
Tests / test (3.11) (pull_request) Has been cancelled
Tests / test (3.8) (pull_request) Has been cancelled
Tests / test (3.9) (pull_request) Has been cancelled
Tests / test (3.10) (pull_request) Has been cancelled
2024-01-21 18:00:43 +02:00
9aed62189d Update dependency pylint to v2.17.7
Some checks failed
Tests / test (3.10) (pull_request) Failing after 1m28s
Tests / test (3.11) (pull_request) Failing after 1m24s
Tests / test (3.8) (pull_request) Failing after 1m24s
Tests / test (3.9) (pull_request) Failing after 1m23s
2024-01-21 18:00:38 +02:00
67b5be094c Add .renovaterc
Some checks failed
Tests / test (3.10) (push) Failing after 1m21s
Tests / test (3.11) (push) Failing after 1m24s
Tests / test (3.8) (push) Failing after 1m21s
Tests / test (3.9) (push) Failing after 1m23s
2024-01-21 17:34:57 +02:00
7afb325ebd Update src/huepaper/__init__.py
Some checks failed
Tests / test (3.10) (push) Failing after 1m23s
Tests / test (3.11) (push) Failing after 1m25s
Tests / test (3.8) (push) Failing after 1m25s
Tests / test (3.9) (push) Has been cancelled
2024-01-21 17:30:36 +02:00
95ed004805 Update requirements/_.txt
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
2024-01-21 17:30:16 +02:00
70d0279cb9
Fixed -p and improved coverage
All checks were successful
Tests / test (3.10) (push) Successful in 1m10s
Tests / test (3.11) (push) Successful in 1m9s
Tests / test (3.8) (push) Successful in 1m13s
Tests / test (3.9) (push) Successful in 1m12s
2023-08-10 14:31:33 +02:00
62ef828e4b
Removed unused test 2023-08-10 14:22:10 +02:00
ce752d30e2
Added VSCode tasks
All checks were successful
Tests / test (3.10) (push) Successful in 1m11s
Tests / test (3.11) (push) Successful in 1m11s
Tests / test (3.8) (push) Successful in 1m27s
Tests / test (3.9) (push) Successful in 1m21s
2023-08-10 14:20:08 +02:00
1365273ff0
Improved tests 2023-08-10 14:19:56 +02:00
2f4f61ef82
Changed branch name to master
All checks were successful
Tests / test (3.10) (push) Successful in 1m17s
Tests / test (3.11) (push) Successful in 1m24s
Tests / test (3.8) (push) Successful in 1m8s
Tests / test (3.9) (push) Successful in 1m10s
2023-08-10 14:09:51 +02:00
7df479c59e
Improved README 2023-08-10 14:09:17 +02:00
15 changed files with 204 additions and 120 deletions

View File

@ -4,7 +4,7 @@ on:
push: push:
branches: branches:
- dev - dev
- main - master
tags-ignore: tags-ignore:
- v* - v*
pull_request: pull_request:
@ -15,7 +15,7 @@ jobs:
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
strategy: strategy:
matrix: matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"] python-version: ["3.9", "3.10", "3.11", "3.12"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

27
.renovaterc Normal file
View File

@ -0,0 +1,27 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"pip_requirements": {
"fileMatch": [
"requirements/.*\\.txt$"
],
"enabled": true
},
"packageRules": [
{
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"automerge": true
}
],
"ignoreDeps": [
"numpy"
]
}

View File

@ -10,5 +10,7 @@
}, },
"[toml]": { "[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml" "editor.defaultFormatter": "tamasfe.even-better-toml"
} },
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true
} }

33
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,33 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"linux": {
"command": "./.venv/bin/python -m build"
},
"windows": {
"command": ".\\.venv\\Scripts\\python.exe -m build"
},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Publish",
"type": "shell",
"linux": {
"command": "./.venv/bin/python -m twine upload --repository gitea ./dist/*"
},
"windows": {
"command": ".\\.venv\\Scripts\\python.exe -m twine upload --repository gitea ./dist/*"
},
"problemMatcher": []
}
]
}

View File

@ -11,57 +11,23 @@ Mastodon [huebot](https://botsin.space/@huebot).
## Installation ## Installation
### Nix ```shell
pip install --index-url https://git.end-play.xyz/api/packages/profitroll/pypi/simple/ huepaper
This project is a [Nix Flake](https://nixos.wiki/wiki/Flakes). If you
have a recent version of the [Nix package manager](https://nixos.org/)
installed and Flakes are enabled, run huepaper like this:
``` example
nix run github:Deleh/huepaper
```
Parameters can be passed by appending a double-dash:
``` example
nix run github:Deleh/huepaper -- -hue 0.5 --color lightblue
```
Global installation can be done by including this flake in your flaked
NixOS configuration as always :)
### Legacy
Execute the following steps to run huepaper:
``` example
pip install -r requirements.txt
./huepaper.py
```
```{=org}
#+end_example
```
To install it in your Python environment run:
``` example
python setup.py install
``` ```
## Usage ## Usage
``` example ```example
usage: huepaper [-h] [-s SIZE] [-c COLOR] [-np] [-o OUTPUT] [-l [LINES]] [-lb [LINES_BRIGHT]] [-ld [LINES_DARK]] [-P [PIXELATE]] [-e EMBLEM] [-hue HUE] [-smin SMIN] [-smax SMAX] [-lmin LMIN] [-lmax LMAX] usage: huepaper [-h] [--width WIDTH] [--height HEIGHT] [-c COLOR] [-np] [-o OUTPUT] [-l [LINES]] [-lb [LINES_BRIGHT]] [-ld [LINES_DARK]] [-p [PIXELATE]] [-e EMBLEM] [-hue HUE] [-smin SMIN] [-smax SMAX] [-lmin LMIN] [-lmax LMAX]
Create wallpapers based on color hues. Create wallpapers based on color hues.
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
-s SIZE, --size SIZE size of huepaper in the form WIDTHxHEIGHT (default: 1920x1080) --width WIDTH width of the image (default: 1920)
--height HEIGHT height of the image (default: 1080)
-c COLOR, --color COLOR -c COLOR, --color COLOR
base color from which the huepaper is generated (default: random color) base color from which the huepaper is generated (default: random color)
-np, --no-preview don't preview the huepaper
-o OUTPUT, --output OUTPUT -o OUTPUT, --output OUTPUT
filepath where the huepaper will be saved filepath where the huepaper will be saved
-l [LINES], --lines [LINES] -l [LINES], --lines [LINES]
@ -81,6 +47,14 @@ optional arguments:
-lmax LMAX maximum luminance for colors in range [0, 1] (default: 0.9) -lmax LMAX maximum luminance for colors in range [0, 1] (default: 0.9)
``` ```
...or as a Python module
```python
from huepaper import generate
image = generate(width=500, height=500, hue_max=1.0, lum_min=0.3, lum_max=0.6, sat_min=0.8, sat_max=1.0)
```
All image operations are called in order of the help file. E.g. pixelate All image operations are called in order of the help file. E.g. pixelate
(`-p`) is called after adding lines (`-l`). (`-p`) is called after adding lines (`-l`).
@ -141,7 +115,7 @@ huepaper -hue 1.0 -lmin 0.3 -lmax 0.6 -smin 0.8 -smax 1.0
![Huepaper 5](images/huepaper_5.png) ![Huepaper 5](images/huepaper_5.png)
``` example ``` example
huepaper -hue 0.3 -lmin 0.5 -lmax 0.5 -l 0.5 -P 64x36 huepaper -hue 0.3 -lmin 0.5 -lmax 0.5 -l 0.5 -p 64x36
``` ```
------------------------------------------------------------------------ ------------------------------------------------------------------------

View File

@ -9,7 +9,7 @@ authors = [{ name = "Denis Lehmann" }]
maintainers = [{ name = "Profitroll" }] maintainers = [{ name = "Profitroll" }]
description = "A colorful wallpaper generator" description = "A colorful wallpaper generator"
readme = "README.md" readme = "README.md"
requires-python = ">=3.8" requires-python = ">=3.9"
license = { text = "GPL3" } license = { text = "GPL3" }
classifiers = [ classifiers = [
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
@ -17,11 +17,10 @@ classifiers = [
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities", "Topic :: Utilities",
] ]
@ -44,7 +43,7 @@ dev = { file = "requirements/dev.txt" }
where = ["src"] where = ["src"]
[tool.black] [tool.black]
target-version = ['py38', 'py39', 'py310', 'py311'] target-version = ['py39', 'py310', 'py311', 'py312']
[tool.isort] [tool.isort]
profile = "black" profile = "black"
@ -62,7 +61,7 @@ strict = true
show_error_codes = true show_error_codes = true
[tool.pylint.main] [tool.pylint.main]
py-version = 3.8 py-version = 3.9
[tool.coverage.run] [tool.coverage.run]
source = ["huepaper"] source = ["huepaper"]

View File

@ -1,3 +1,3 @@
colour==0.1.5 colour==0.1.5
numpy~=1.24.0,<1.25.0 numpy~=2.0.1,<2.1.0
pillow~=10.0.0 pillow~=11.0.0

View File

@ -1,9 +1,9 @@
black==23.7.0 black==24.10.0
build==0.10.0 build==1.2.2.post1
isort==5.12.0 isort==5.13.2
mypy==1.4.1 mypy==1.14.0
pylint==2.17.5 pylint==3.3.2
pytest-cov==4.1.0 pytest-cov==6.0.0
pytest==7.4.0 pytest==8.3.4
tox==4.7.0 tox==4.23.2
twine==4.0.2 twine==6.0.1

View File

@ -1,4 +1,4 @@
__version__ = "0.0.4" __version__ = "0.0.5"
from . import utils from . import utils
from .generator import generate from .generator import generate

View File

@ -44,10 +44,10 @@ def generate(
raise ValueError("Pixelation value must be set in form: 42x42") raise ValueError("Pixelation value must be set in form: 42x42")
try: try:
random_color = False if color else True random_color = not color
base_color = get_base_color(color, sat_min, sat_max, lum_min, lum_max) base_color = get_base_color(color, sat_min, sat_max, lum_min, lum_max)
if random_color: if random_color:
print("Selected random base color: {}".format(base_color.hex)) print(f"Selected random base color: {base_color.hex}")
c1, c2, c3, c4 = create_colors( c1, c2, c3, c4 = create_colors(
base_color, hue_max, sat_min, sat_max, lum_min, lum_max base_color, hue_max, sat_min, sat_max, lum_min, lum_max
@ -68,7 +68,7 @@ def generate(
if emblem: if emblem:
image = add_emblem(image, emblem) image = add_emblem(image, emblem)
image.mode = "RGB" image = image.convert(mode="RGB")
if _output: if _output:
save_image(image, _output) save_image(image, _output)
@ -77,5 +77,5 @@ def generate(
return image return image
except Exception as e: except Exception as e:
print(str(e)) print(e)
exit(1) exit(1)

View File

@ -4,6 +4,7 @@ import random
import numpy as np import numpy as np
from colour import Color from colour import Color
from PIL import Image, ImageDraw, ImageOps from PIL import Image, ImageDraw, ImageOps
from typing import Tuple, Union
def get_base_color( def get_base_color(
@ -23,9 +24,9 @@ def get_base_color(
base_color = Color(color_string) base_color = Color(color_string)
except: except:
try: try:
base_color = Color("#{}".format(color_string)) base_color = Color(f"#{color_string}")
except: except:
raise Exception("Invalid color expression: {}".format(color_string)) raise Exception(f"Invalid color expression: {color_string}")
return base_color return base_color
@ -43,7 +44,7 @@ def create_colors(
max_lum_diff = 0.1 max_lum_diff = 0.1
# Create four random colors similar to the given base_color # Create four random colors similar to the given base_color
for i in range(0, 4): for _ in range(4):
tmp_hue = base_color.hue + random.uniform(-hue_max / 2.0, hue_max / 2.0) tmp_hue = base_color.hue + random.uniform(-hue_max / 2.0, hue_max / 2.0)
if tmp_hue > 1.0: if tmp_hue > 1.0:
tmp_hue -= 1 tmp_hue -= 1
@ -60,7 +61,7 @@ def create_colors(
return tuple(colors) return tuple(colors)
def create_base_image(c1, c2, c3, c4, width=1920, height=1080): def create_base_image(c1, c2, c3, c4, width=1920, height=1080) -> Image:
"""Create a base huepaper by four corner colors. """Create a base huepaper by four corner colors.
c1 - top left c1 - top left
@ -79,12 +80,11 @@ def create_base_image(c1, c2, c3, c4, width=1920, height=1080):
) )
im_arr = np.array([r, g, b]).T im_arr = np.array([r, g, b]).T
image = Image.fromarray(np.uint8(im_arr * 255)).convert("RGBA")
return image return Image.fromarray(np.uint8(im_arr * 255)).convert("RGBA")
def add_lines(image, color): def add_lines(image: Image, color: Tuple[float, float, float, Union[float, None]]) -> Image:
"""Add one to three random lines to an image with given color.""" """Add one to three random lines to an image with given color."""
width, height = image.size width, height = image.size
@ -103,7 +103,8 @@ def add_lines(image, color):
) )
space = rand_width() // 2 space = rand_width() // 2
offset = random.randint(0, space) offset = random.randint(0, space)
for i in range(0, number_of_lines):
for _ in range(number_of_lines):
line_width = rand_width() line_width = rand_width()
x = offset + space + (line_width // 2) x = offset + space + (line_width // 2)
draw.line((x, 0, x, height), fill=color, width=line_width) draw.line((x, 0, x, height), fill=color, width=line_width)
@ -138,7 +139,7 @@ def add_emblem(image, filepath):
try: try:
emblem_image = Image.open(filepath) emblem_image = Image.open(filepath)
except Exception as e: except Exception as e:
raise Exception("Failed to load emblem: {}".format(e)) raise Exception(f"Failed to load emblem: {e}")
# Exit if emblem is too big # Exit if emblem is too big
if emblem_image.size[0] > width or emblem_image.size[1] > height: if emblem_image.size[0] > width or emblem_image.size[1] > height:
@ -161,11 +162,10 @@ def save_image(image, filepath):
# Check whether file exists # Check whether file exists
if os.path.isfile(filepath): if os.path.isfile(filepath):
overwrite = input( overwrite = input(
"The file {} already exists. Do you want to overwrite it? [y/N] ".format( f"The file {filepath} already exists. Do you want to overwrite it? [y/N] "
filepath
) )
)
if overwrite != "y" and overwrite != "Y": if overwrite not in ["y", "Y"]:
save = False save = False
if save: if save:
@ -175,9 +175,10 @@ def save_image(image, filepath):
image.save(filepath) image.save(filepath)
stop = True stop = True
except Exception as e: except Exception as e:
print("Failed to save wallpaper: {}".format(e)) print(f"Failed to save wallpaper: {e}")
again = input("Do you want to try again? [Y/n] ") again = input("Do you want to try again? [Y/n] ")
if again == "n" or again == "N":
if again in ["n", "N"]:
stop = True stop = True
else: else:
filepath = input( filepath = input(

BIN
tests/assets/emblem.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -1,36 +0,0 @@
from os import remove
from pathlib import Path
from PIL.Image import Image
from huepaper import generate
from huepaper.utils import save_image
def test_generation():
image = generate(
width=500,
height=500,
hue_max=1.0,
lum_min=0.3,
lum_max=0.6,
sat_min=0.8,
sat_max=1.0,
)
assert isinstance(image, Image)
def test_saving():
image = generate(
500,
500,
hue_max=1.0,
lum_min=0.3,
lum_max=0.6,
sat_min=0.8,
sat_max=1.0,
lines=0.0,
)
save_image(image, Path("tests/image.jpg"))
assert Path("tests/image.jpg").exists()
remove(Path("tests/image.jpg"))

84
tests/test_generator.py Normal file
View File

@ -0,0 +1,84 @@
from os import remove
from pathlib import Path
from subprocess import run
from PIL.Image import Image
from huepaper import generate
from huepaper.utils import save_image
def test_generation():
image = generate()
assert isinstance(image, Image)
def test_saving():
image = generate(
500,
500,
hue_max=1.0,
lum_min=0.3,
lum_max=0.6,
sat_min=0.8,
sat_max=1.0,
lines=0.0,
)
save_image(image, Path("tests/image.jpg"))
assert Path("tests/image.jpg").exists()
remove(Path("tests/image.jpg"))
def test_shell():
assert (
run(
[
"huepaper",
"-hue",
"0.3",
"-lmin",
"0.5",
"-lmax",
"0.3",
"-l",
"0.5",
"-p",
"64x36",
"-o",
"tests/image.jpg",
],
check=False,
).returncode
== 0
)
remove(Path("tests/image.jpg"))
def test_generation_example_1():
image = generate(color="lightgreen")
assert isinstance(image, Image)
def test_generation_example_2():
image = generate(color="#ff7f50", lines_bright=0.05)
assert isinstance(image, Image)
def test_generation_example_3():
image = generate(hue_max=1.0, lum_min=0.3, lum_max=0.6, sat_min=0.8, sat_max=1.0)
assert isinstance(image, Image)
def test_generation_example_4():
image = generate(hue_max=0.3, lum_min=0.5, lum_max=0.5, lines=0.5, pixelate="64x36")
assert isinstance(image, Image)
def test_generation_example_5():
image = generate(
lines=0.3,
lines_bright=0.1,
lines_dark=0.1,
emblem=Path("tests/assets/emblem.png"),
)
assert isinstance(image, Image)

View File

@ -1,14 +1,14 @@
[tox] [tox]
minversion = 3.8.0 minversion = 3.9.0
envlist = py38, py39, py310, py311 envlist = py39, py310, py311, py312
isolated_build = true isolated_build = true
[gh-actions] [gh-actions]
python = python =
3.8: py38
3.9: py39 3.9: py39
3.10: py310 3.10: py310
3.11: py311 3.11: py311
3.12: py312
[testenv] [testenv]
setenv = setenv =