Arav K.
87cd81d481
Add dependency on 'platformdirs'
2024-09-20 23:27:36 +02:00
Šarūnas Nejus
06ca500ff2
Do not install reflink for tests on Windows
2024-09-04 18:56:19 +01:00
Šarūnas Nejus
49cae5ca23
autobpm: Fix the issue with tempo being a numpy array
2024-08-19 22:44:16 +01:00
Šarūnas Nejus
03cf567a90
autobpm: Add autobpm extra and update the docs
...
Given that librosa has been introducing breaking changes like there's no
tomorrow, use '^' version specifier to only allow updating the patch
version.
2024-08-19 22:44:16 +01:00
Šarūnas Nejus
f88bb4ed60
Add a shell command which tests for leftover temp files
2024-07-12 20:32:18 +01:00
Arkadiy Illarionov
859072ee9e
Use typing_extensions only when needed
...
Self was added in Python 3.11
TypeAlias was added in Python 3.10
2024-06-22 16:02:24 +03:00
Šarūnas Nejus
2800a323a2
Revert "Make queries fast, filter all flexible attributes ( #5240 )"
...
This reverts commit 143b9202f3 , reversing
changes made to 8508a57d77 .
2024-06-19 21:51:44 +01:00
Šarūnas Nejus
e61c7d637d
fixup! Add ability to debug queries
2024-06-16 19:46:03 +01:00
Šarūnas Nejus
1862c7367b
Add ability to debug queries
2024-06-16 15:28:45 +01:00
Šarūnas Nejus
6b63a3090d
Remove flake8 docstrings and its exclusion rules ( #5234 )
2024-06-16 02:55:49 +01:00
Šarūnas Nejus
3e075f2a9a
Add 'test-with-coverage' command
...
And do not measure coverage by default.
2024-06-15 23:52:18 +01:00
Šarūnas Nejus
fa788e2e5a
Remove flake8-docstrings and its exclusion rules
2024-06-15 13:09:33 +01:00
Šarūnas Nejus
e3075b76e0
Move dependencies required for release to a separate group
2024-06-15 04:25:50 +01:00
Serene
aacf983268
Remove release script from pyproject ( #5307 )
...
I realised that when users install beets, this `release` script would
also get installed for them, which is not ideal, I guess.
2024-06-15 09:57:36 +10:00
Šarūnas Nejus
e7ece96268
Remove release script from pyproject
...
I realised that when users install beets, this `release` script would
also get installed for them, which is not ideal, I guess.
2024-06-14 16:27:40 +01:00
Šarūnas Nejus
b29c9a83b9
Upgrade black, pin it below v25
2024-06-14 16:16:51 +01:00
Šarūnas Nejus
50cf70eea3
Check all python files for formatting issues
2024-06-11 15:21:39 +01:00
Šarūnas Nejus
6d3b76d3ef
Update dependencies
2024-06-10 13:46:27 +01:00
Šarūnas Nejus
f3df90c9ff
Revert "Add poethepoet to dependencies for devs"
...
This reverts commit fc373f5fef8c8dd1656dfdf31c14b3365a0a75bc.
See CONTRIBUTING.rst which has tools setup guidelines for users. They
are expected to install both poetry and poethepoet globally in their
system.
2024-06-10 13:46:26 +01:00
Šarūnas Nejus
627c0698ee
Revert "Only format correct directories"
...
This reverts commit c3b6f07c4336e6639e4597a800700820155ad294.
This commit hardcoded the paths that `isort` and `black` checks. This
means that the `check-format` job will act on the entire codebase
instead of only changed files. We need to define a `path` argument with
a default value in order to achieve the above.
Regarding "." vs "beets beetsplug test", the intention behind using "."
was to also check python files like `docs/conf.py` and
`extra/release.py` which I presume we would also want to format
properly.
2024-06-10 13:46:26 +01:00
Serene-Arc
35533b3807
Add poethepoet to dependencies for devs
2024-06-10 13:46:26 +01:00
Serene-Arc
4f566f181f
Only format correct directories
2024-06-10 13:46:25 +01:00
Šarūnas Nejus
4a8e6e961f
Update workflows
2024-06-10 13:46:25 +01:00
Šarūnas Nejus
bfd9753314
Remove tox
...
Unfortunately tox does not play very nicely with Poetry. Tox was mostly
useful since it managed virtual environments, however now this is done
by Poetry.
Thus we do not anymore need it since we can run our commands using
`poetry run`. I have extended the internal helper tool 'project' with
those commands that have previously been run using tox.
2024-06-10 13:46:25 +01:00
Šarūnas Nejus
347911cdee
Introduce Poe the Poet task runner and define tasks.
...
This makes it easier for people to interact with the project in
a unified manner.
2024-06-10 13:46:25 +01:00
Šarūnas Nejus
1aad6e0929
release.py: introduce pyproject.toml
2024-06-10 13:10:17 +01:00
Šarūnas Nejus
7bbd215efc
Update all docs with Poetry
2024-06-10 13:10:16 +01:00
Šarūnas Nejus
90263a9e9e
Use poetry in workflows
2024-06-10 13:10:16 +01:00
Šarūnas Nejus
614ba1d3d6
Configure pyproject.toml
2024-06-10 13:10:13 +01:00
Serene-Arc
1196d43285
Update configuration
2023-10-22 09:52:46 +10:00
Serene-Arc
5b1844f737
Add black option
2023-10-22 09:50:33 +10:00
Serene-Arc
e8bf993f6a
Update python version
2023-10-22 09:50:33 +10:00
Serene-Arc
383fd9a612
Add line length specification
2023-10-22 09:50:33 +10:00
Serene-Arc
e5fe9ca1e5
Add tool configurations
2023-10-22 09:50:33 +10:00