Import upstream version 4.0.1+git20210102.1.d5b1b91
Debian Janitor
1 year, 6 months ago
0 | version: 2.1 | |
1 | ||
2 | orbs: | |
3 | codecov: codecov/codecov@1.0.5 | |
4 | ||
5 | workflows: | |
6 | version: 2 | |
7 | test: | |
8 | jobs: | |
9 | - py39 | |
10 | - py38 | |
11 | - py37 | |
12 | - black | |
13 | - check-manifest | |
14 | - flake8 | |
15 | ||
16 | jobs: | |
17 | py39: &test-template | |
18 | docker: | |
19 | - image: mopidy/ci-python:3.9 | |
20 | steps: | |
21 | - checkout | |
22 | - restore_cache: | |
23 | name: Restoring tox cache | |
24 | key: tox-v1-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.cfg" }} | |
25 | - run: | |
26 | name: Run tests | |
27 | command: | | |
28 | tox -e $CIRCLE_JOB -- \ | |
29 | --junit-xml=test-results/pytest/results.xml \ | |
30 | --cov-report=xml | |
31 | - save_cache: | |
32 | name: Saving tox cache | |
33 | key: tox-v1-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.cfg" }} | |
34 | paths: | |
35 | - ./.tox | |
36 | - ~/.cache/pip | |
37 | - codecov/upload: | |
38 | file: coverage.xml | |
39 | - store_test_results: | |
40 | path: test-results | |
41 | ||
42 | py38: | |
43 | <<: *test-template | |
44 | docker: | |
45 | - image: mopidy/ci-python:3.8 | |
46 | ||
47 | py37: | |
48 | <<: *test-template | |
49 | docker: | |
50 | - image: mopidy/ci-python:3.7 | |
51 | ||
52 | black: *test-template | |
53 | ||
54 | check-manifest: *test-template | |
55 | ||
56 | flake8: *test-template |
0 | name: CI | |
1 | ||
2 | on: [push, pull_request] | |
3 | ||
4 | jobs: | |
5 | main: | |
6 | strategy: | |
7 | fail-fast: false | |
8 | matrix: | |
9 | include: | |
10 | - name: "Test: Python 3.7" | |
11 | python: "3.7" | |
12 | tox: py37 | |
13 | - name: "Test: Python 3.8" | |
14 | python: "3.8" | |
15 | tox: py38 | |
16 | - name: "Test: Python 3.9" | |
17 | python: "3.9" | |
18 | tox: py39 | |
19 | coverage: true | |
20 | - name: "Lint: check-manifest" | |
21 | python: "3.9" | |
22 | tox: check-manifest | |
23 | - name: "Lint: flake8" | |
24 | python: "3.9" | |
25 | tox: flake8 | |
26 | ||
27 | name: ${{ matrix.name }} | |
28 | runs-on: ubuntu-20.04 | |
29 | container: ghcr.io/mopidy/ci:latest | |
30 | ||
31 | steps: | |
32 | - uses: actions/checkout@v2 | |
33 | - uses: actions/setup-python@v2 | |
34 | with: | |
35 | python-version: ${{ matrix.python }} | |
36 | - name: Fix home dir permissions to enable pip caching | |
37 | run: chown -R root /github/home | |
38 | - name: Cache pip | |
39 | uses: actions/cache@v2 | |
40 | with: | |
41 | path: ~/.cache/pip | |
42 | key: ${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip-${{ hashFiles('setup.cfg') }}-${{ hashFiles('tox.ini') }} | |
43 | restore-keys: | | |
44 | ${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip- | |
45 | - run: python -m pip install pygobject tox | |
46 | - run: python -m tox -e ${{ matrix.tox }} | |
47 | if: ${{ ! matrix.coverage }} | |
48 | - run: python -m tox -e ${{ matrix.tox }} -- --cov-report=xml | |
49 | if: ${{ matrix.coverage }} | |
50 | - uses: codecov/codecov-action@v1 | |
51 | if: ${{ matrix.coverage }} |
6 | 6 | include pyproject.toml |
7 | 7 | include tox.ini |
8 | 8 | |
9 | recursive-include .circleci * | |
10 | 9 | recursive-include .github * |
11 | 10 | |
12 | 11 | include mopidy_*/ext.conf |
5 | 5 | Author: Lars Kruse |
6 | 6 | Author-email: devel@sumpfralle.de |
7 | 7 | License: MIT |
8 | Description: ************ | |
9 | Mopidy-Beets | |
10 | ************ | |
11 | ||
12 | .. image:: https://img.shields.io/pypi/v/Mopidy-Beets | |
13 | :target: https://pypi.org/project/Mopidy-Beets/ | |
14 | :alt: Latest PyPI version | |
15 | ||
16 | .. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets | |
17 | :target: https://circleci.com/gh/mopidy/mopidy-beets | |
18 | :alt: CircleCI build status | |
19 | ||
20 | .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets | |
21 | :target: https://codecov.io/gh/mopidy/mopidy-beets | |
22 | :alt: Test coverage | |
23 | ||
24 | `Mopidy <https://mopidy.com/>`_ extension for browsing, searching and | |
25 | playing music from `Beets <https://beets.io/>`_ via Beets' web extension. | |
26 | ||
27 | ||
28 | Installation | |
29 | ============ | |
30 | ||
31 | Install by running:: | |
32 | ||
33 | sudo python3 -m pip install Mopidy-Beets | |
34 | ||
35 | See https://mopidy.com/ext/beets/ for alternative installation methods. | |
36 | ||
37 | ||
38 | Configuration | |
39 | ============= | |
40 | ||
41 | #. Setup the `Beets web plugin | |
42 | <https://beets.readthedocs.org/en/latest/plugins/web.html>`_. | |
43 | ||
44 | #. Tell Mopidy where to find the Beets web interface by adding the following to | |
45 | your ``mopidy.conf``:: | |
46 | ||
47 | [beets] | |
48 | hostname = 127.0.0.1 | |
49 | port = 8337 | |
50 | ||
51 | #. Restart Mopidy. | |
52 | ||
53 | #. The Beets library is now accessible in the "browser" section of your Mopidy | |
54 | client. Additionally searches in Mopidy return results from your Beets | |
55 | library. | |
56 | ||
57 | Proxy configuration for OGG files (optional) | |
58 | -------------------------------------------- | |
59 | ||
60 | You may want to configure an http proxy server in front of your Beets plugin | |
61 | (not mopidy). Otherwise you could have problems with playing OGG files and | |
62 | other formats that require seeking (in technical terms: support for http | |
63 | "Range" requests is required for these files). | |
64 | ||
65 | The following Nginx configuration snippet is sufficient:: | |
66 | ||
67 | server { | |
68 | listen 127.0.0.1:8338; | |
69 | root /usr/share/beets/beetsplug/web; | |
70 | server_name beets.local; | |
71 | location / { | |
72 | proxy_pass http://localhost:8337; | |
73 | # this statement forces Nginx to emulate "Range" responses | |
74 | proxy_force_ranges on; | |
75 | } | |
76 | } | |
77 | ||
78 | Now you should change the mopidy configuration accordingly to point to the | |
79 | Nginx port above instead of the Beets port. Afterwards mopidy will be able to | |
80 | play file formats that require seeking. | |
81 | ||
82 | ||
83 | Usage | |
84 | ===== | |
85 | ||
86 | #. Run ``beet web`` to start the Beets web interface. | |
87 | ||
88 | #. Start Mopidy and access your Beets library via any Mopidy client: | |
89 | ||
90 | * Browse your collection by album | |
91 | ||
92 | * Search for tracks or albums | |
93 | ||
94 | * Let the music play! | |
95 | ||
96 | ||
97 | Project resources | |
98 | ================= | |
99 | ||
100 | - `Source code <https://github.com/mopidy/mopidy-beets>`_ | |
101 | - `Issue tracker <https://github.com/mopidy/mopidy-beets/issues>`_ | |
102 | - `Changelog <https://github.com/mopidy/mopidy-beets/releases>`_ | |
103 | ||
104 | ||
105 | Credits | |
106 | ======= | |
107 | ||
108 | - Original author: `Janez Troha <https://github.com/dz0ny>`_ | |
109 | - Current maintainer: `Lars Kruse <devel@sumpfralle.de>`_ | |
110 | - `Contributors <https://github.com/mopidy/mopidy-beets/graphs/contributors>`_ | |
111 | ||
112 | Platform: UNKNOWN | |
113 | 8 | Classifier: Environment :: No Input/Output (Daemon) |
114 | 9 | Classifier: Intended Audience :: End Users/Desktop |
115 | 10 | Classifier: License :: OSI Approved :: MIT License |
120 | 15 | Classifier: Programming Language :: Python :: 3.9 |
121 | 16 | Classifier: Topic :: Multimedia :: Sound/Audio :: Players |
122 | 17 | Requires-Python: >=3.7 |
18 | Provides-Extra: dev | |
123 | 19 | Provides-Extra: lint |
124 | Provides-Extra: release | |
125 | 20 | Provides-Extra: test |
126 | Provides-Extra: dev | |
21 | License-File: LICENSE | |
22 | ||
23 | ************ | |
24 | Mopidy-Beets | |
25 | ************ | |
26 | ||
27 | .. image:: https://img.shields.io/pypi/v/Mopidy-Beets | |
28 | :target: https://pypi.org/project/Mopidy-Beets/ | |
29 | :alt: Latest PyPI version | |
30 | ||
31 | .. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy-beets/CI | |
32 | :target: https://github.com/mopidy/mopidy-beets/actions | |
33 | :alt: CI build status | |
34 | ||
35 | .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets | |
36 | :target: https://codecov.io/gh/mopidy/mopidy-beets | |
37 | :alt: Test coverage | |
38 | ||
39 | `Mopidy <https://mopidy.com/>`_ extension for browsing, searching and | |
40 | playing music from `Beets <https://beets.io/>`_ via Beets' web extension. | |
41 | ||
42 | ||
43 | Installation | |
44 | ============ | |
45 | ||
46 | Install by running:: | |
47 | ||
48 | sudo python3 -m pip install Mopidy-Beets | |
49 | ||
50 | See https://mopidy.com/ext/beets/ for alternative installation methods. | |
51 | ||
52 | ||
53 | Configuration | |
54 | ============= | |
55 | ||
56 | #. Setup the `Beets web plugin | |
57 | <https://beets.readthedocs.org/en/latest/plugins/web.html>`_. | |
58 | ||
59 | #. Tell Mopidy where to find the Beets web interface by adding the following to | |
60 | your ``mopidy.conf``:: | |
61 | ||
62 | [beets] | |
63 | hostname = 127.0.0.1 | |
64 | port = 8337 | |
65 | ||
66 | #. Restart Mopidy. | |
67 | ||
68 | #. The Beets library is now accessible in the "browser" section of your Mopidy | |
69 | client. Additionally searches in Mopidy return results from your Beets | |
70 | library. | |
71 | ||
72 | Proxy configuration for OGG files (optional) | |
73 | -------------------------------------------- | |
74 | ||
75 | You may want to configure an http proxy server in front of your Beets plugin | |
76 | (not mopidy). Otherwise you could have problems with playing OGG files and | |
77 | other formats that require seeking (in technical terms: support for http | |
78 | "Range" requests is required for these files). | |
79 | ||
80 | The following Nginx configuration snippet is sufficient:: | |
81 | ||
82 | server { | |
83 | listen 127.0.0.1:8338; | |
84 | root /usr/share/beets/beetsplug/web; | |
85 | server_name beets.local; | |
86 | location / { | |
87 | proxy_pass http://localhost:8337; | |
88 | # this statement forces Nginx to emulate "Range" responses | |
89 | proxy_force_ranges on; | |
90 | } | |
91 | } | |
92 | ||
93 | Now you should change the mopidy configuration accordingly to point to the | |
94 | Nginx port above instead of the Beets port. Afterwards mopidy will be able to | |
95 | play file formats that require seeking. | |
96 | ||
97 | ||
98 | Usage | |
99 | ===== | |
100 | ||
101 | #. Run ``beet web`` to start the Beets web interface. | |
102 | ||
103 | #. Start Mopidy and access your Beets library via any Mopidy client: | |
104 | ||
105 | * Browse your collection by album | |
106 | ||
107 | * Search for tracks or albums | |
108 | ||
109 | * Let the music play! | |
110 | ||
111 | ||
112 | Project resources | |
113 | ================= | |
114 | ||
115 | - `Source code <https://github.com/mopidy/mopidy-beets>`_ | |
116 | - `Issue tracker <https://github.com/mopidy/mopidy-beets/issues>`_ | |
117 | - `Changelog <https://github.com/mopidy/mopidy-beets/releases>`_ | |
118 | ||
119 | ||
120 | Credits | |
121 | ======= | |
122 | ||
123 | - Original author: `Janez Troha <https://github.com/dz0ny>`_ | |
124 | - Current maintainer: `Lars Kruse <devel@sumpfralle.de>`_ | |
125 | - `Contributors <https://github.com/mopidy/mopidy-beets/graphs/contributors>`_ |
5 | 5 | setup.cfg |
6 | 6 | setup.py |
7 | 7 | tox.ini |
8 | .circleci/config.yml | |
8 | .github/workflows/ci.yml | |
9 | 9 | .github/workflows/release.yml |
10 | 10 | Mopidy_Beets.egg-info/PKG-INFO |
11 | 11 | Mopidy_Beets.egg-info/SOURCES.txt |
6 | 6 | black |
7 | 7 | check-manifest |
8 | 8 | flake8 |
9 | flake8-black | |
9 | 10 | flake8-bugbear |
10 | 11 | flake8-import-order |
11 | 12 | isort[pyproject] |
12 | build | |
13 | twine | |
14 | 13 | pytest |
15 | 14 | pytest-cov |
16 | 15 | |
18 | 17 | black |
19 | 18 | check-manifest |
20 | 19 | flake8 |
20 | flake8-black | |
21 | 21 | flake8-bugbear |
22 | 22 | flake8-import-order |
23 | 23 | isort[pyproject] |
24 | 24 | |
25 | [release] | |
26 | build | |
27 | twine | |
28 | ||
29 | 25 | [test] |
30 | 26 | pytest |
31 | 27 | pytest-cov |
5 | 5 | Author: Lars Kruse |
6 | 6 | Author-email: devel@sumpfralle.de |
7 | 7 | License: MIT |
8 | Description: ************ | |
9 | Mopidy-Beets | |
10 | ************ | |
11 | ||
12 | .. image:: https://img.shields.io/pypi/v/Mopidy-Beets | |
13 | :target: https://pypi.org/project/Mopidy-Beets/ | |
14 | :alt: Latest PyPI version | |
15 | ||
16 | .. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets | |
17 | :target: https://circleci.com/gh/mopidy/mopidy-beets | |
18 | :alt: CircleCI build status | |
19 | ||
20 | .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets | |
21 | :target: https://codecov.io/gh/mopidy/mopidy-beets | |
22 | :alt: Test coverage | |
23 | ||
24 | `Mopidy <https://mopidy.com/>`_ extension for browsing, searching and | |
25 | playing music from `Beets <https://beets.io/>`_ via Beets' web extension. | |
26 | ||
27 | ||
28 | Installation | |
29 | ============ | |
30 | ||
31 | Install by running:: | |
32 | ||
33 | sudo python3 -m pip install Mopidy-Beets | |
34 | ||
35 | See https://mopidy.com/ext/beets/ for alternative installation methods. | |
36 | ||
37 | ||
38 | Configuration | |
39 | ============= | |
40 | ||
41 | #. Setup the `Beets web plugin | |
42 | <https://beets.readthedocs.org/en/latest/plugins/web.html>`_. | |
43 | ||
44 | #. Tell Mopidy where to find the Beets web interface by adding the following to | |
45 | your ``mopidy.conf``:: | |
46 | ||
47 | [beets] | |
48 | hostname = 127.0.0.1 | |
49 | port = 8337 | |
50 | ||
51 | #. Restart Mopidy. | |
52 | ||
53 | #. The Beets library is now accessible in the "browser" section of your Mopidy | |
54 | client. Additionally searches in Mopidy return results from your Beets | |
55 | library. | |
56 | ||
57 | Proxy configuration for OGG files (optional) | |
58 | -------------------------------------------- | |
59 | ||
60 | You may want to configure an http proxy server in front of your Beets plugin | |
61 | (not mopidy). Otherwise you could have problems with playing OGG files and | |
62 | other formats that require seeking (in technical terms: support for http | |
63 | "Range" requests is required for these files). | |
64 | ||
65 | The following Nginx configuration snippet is sufficient:: | |
66 | ||
67 | server { | |
68 | listen 127.0.0.1:8338; | |
69 | root /usr/share/beets/beetsplug/web; | |
70 | server_name beets.local; | |
71 | location / { | |
72 | proxy_pass http://localhost:8337; | |
73 | # this statement forces Nginx to emulate "Range" responses | |
74 | proxy_force_ranges on; | |
75 | } | |
76 | } | |
77 | ||
78 | Now you should change the mopidy configuration accordingly to point to the | |
79 | Nginx port above instead of the Beets port. Afterwards mopidy will be able to | |
80 | play file formats that require seeking. | |
81 | ||
82 | ||
83 | Usage | |
84 | ===== | |
85 | ||
86 | #. Run ``beet web`` to start the Beets web interface. | |
87 | ||
88 | #. Start Mopidy and access your Beets library via any Mopidy client: | |
89 | ||
90 | * Browse your collection by album | |
91 | ||
92 | * Search for tracks or albums | |
93 | ||
94 | * Let the music play! | |
95 | ||
96 | ||
97 | Project resources | |
98 | ================= | |
99 | ||
100 | - `Source code <https://github.com/mopidy/mopidy-beets>`_ | |
101 | - `Issue tracker <https://github.com/mopidy/mopidy-beets/issues>`_ | |
102 | - `Changelog <https://github.com/mopidy/mopidy-beets/releases>`_ | |
103 | ||
104 | ||
105 | Credits | |
106 | ======= | |
107 | ||
108 | - Original author: `Janez Troha <https://github.com/dz0ny>`_ | |
109 | - Current maintainer: `Lars Kruse <devel@sumpfralle.de>`_ | |
110 | - `Contributors <https://github.com/mopidy/mopidy-beets/graphs/contributors>`_ | |
111 | ||
112 | Platform: UNKNOWN | |
113 | 8 | Classifier: Environment :: No Input/Output (Daemon) |
114 | 9 | Classifier: Intended Audience :: End Users/Desktop |
115 | 10 | Classifier: License :: OSI Approved :: MIT License |
120 | 15 | Classifier: Programming Language :: Python :: 3.9 |
121 | 16 | Classifier: Topic :: Multimedia :: Sound/Audio :: Players |
122 | 17 | Requires-Python: >=3.7 |
18 | Provides-Extra: dev | |
123 | 19 | Provides-Extra: lint |
124 | Provides-Extra: release | |
125 | 20 | Provides-Extra: test |
126 | Provides-Extra: dev | |
21 | License-File: LICENSE | |
22 | ||
23 | ************ | |
24 | Mopidy-Beets | |
25 | ************ | |
26 | ||
27 | .. image:: https://img.shields.io/pypi/v/Mopidy-Beets | |
28 | :target: https://pypi.org/project/Mopidy-Beets/ | |
29 | :alt: Latest PyPI version | |
30 | ||
31 | .. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy-beets/CI | |
32 | :target: https://github.com/mopidy/mopidy-beets/actions | |
33 | :alt: CI build status | |
34 | ||
35 | .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets | |
36 | :target: https://codecov.io/gh/mopidy/mopidy-beets | |
37 | :alt: Test coverage | |
38 | ||
39 | `Mopidy <https://mopidy.com/>`_ extension for browsing, searching and | |
40 | playing music from `Beets <https://beets.io/>`_ via Beets' web extension. | |
41 | ||
42 | ||
43 | Installation | |
44 | ============ | |
45 | ||
46 | Install by running:: | |
47 | ||
48 | sudo python3 -m pip install Mopidy-Beets | |
49 | ||
50 | See https://mopidy.com/ext/beets/ for alternative installation methods. | |
51 | ||
52 | ||
53 | Configuration | |
54 | ============= | |
55 | ||
56 | #. Setup the `Beets web plugin | |
57 | <https://beets.readthedocs.org/en/latest/plugins/web.html>`_. | |
58 | ||
59 | #. Tell Mopidy where to find the Beets web interface by adding the following to | |
60 | your ``mopidy.conf``:: | |
61 | ||
62 | [beets] | |
63 | hostname = 127.0.0.1 | |
64 | port = 8337 | |
65 | ||
66 | #. Restart Mopidy. | |
67 | ||
68 | #. The Beets library is now accessible in the "browser" section of your Mopidy | |
69 | client. Additionally searches in Mopidy return results from your Beets | |
70 | library. | |
71 | ||
72 | Proxy configuration for OGG files (optional) | |
73 | -------------------------------------------- | |
74 | ||
75 | You may want to configure an http proxy server in front of your Beets plugin | |
76 | (not mopidy). Otherwise you could have problems with playing OGG files and | |
77 | other formats that require seeking (in technical terms: support for http | |
78 | "Range" requests is required for these files). | |
79 | ||
80 | The following Nginx configuration snippet is sufficient:: | |
81 | ||
82 | server { | |
83 | listen 127.0.0.1:8338; | |
84 | root /usr/share/beets/beetsplug/web; | |
85 | server_name beets.local; | |
86 | location / { | |
87 | proxy_pass http://localhost:8337; | |
88 | # this statement forces Nginx to emulate "Range" responses | |
89 | proxy_force_ranges on; | |
90 | } | |
91 | } | |
92 | ||
93 | Now you should change the mopidy configuration accordingly to point to the | |
94 | Nginx port above instead of the Beets port. Afterwards mopidy will be able to | |
95 | play file formats that require seeking. | |
96 | ||
97 | ||
98 | Usage | |
99 | ===== | |
100 | ||
101 | #. Run ``beet web`` to start the Beets web interface. | |
102 | ||
103 | #. Start Mopidy and access your Beets library via any Mopidy client: | |
104 | ||
105 | * Browse your collection by album | |
106 | ||
107 | * Search for tracks or albums | |
108 | ||
109 | * Let the music play! | |
110 | ||
111 | ||
112 | Project resources | |
113 | ================= | |
114 | ||
115 | - `Source code <https://github.com/mopidy/mopidy-beets>`_ | |
116 | - `Issue tracker <https://github.com/mopidy/mopidy-beets/issues>`_ | |
117 | - `Changelog <https://github.com/mopidy/mopidy-beets/releases>`_ | |
118 | ||
119 | ||
120 | Credits | |
121 | ======= | |
122 | ||
123 | - Original author: `Janez Troha <https://github.com/dz0ny>`_ | |
124 | - Current maintainer: `Lars Kruse <devel@sumpfralle.de>`_ | |
125 | - `Contributors <https://github.com/mopidy/mopidy-beets/graphs/contributors>`_ |
5 | 5 | :target: https://pypi.org/project/Mopidy-Beets/ |
6 | 6 | :alt: Latest PyPI version |
7 | 7 | |
8 | .. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets | |
9 | :target: https://circleci.com/gh/mopidy/mopidy-beets | |
10 | :alt: CircleCI build status | |
8 | .. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy-beets/CI | |
9 | :target: https://github.com/mopidy/mopidy-beets/actions | |
10 | :alt: CI build status | |
11 | 11 | |
12 | 12 | .. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets |
13 | 13 | :target: https://codecov.io/gh/mopidy/mopidy-beets |
34 | 34 | black |
35 | 35 | check-manifest |
36 | 36 | flake8 |
37 | flake8-black | |
37 | 38 | flake8-bugbear |
38 | 39 | flake8-import-order |
39 | 40 | isort[pyproject] |
40 | release = | |
41 | build | |
42 | twine | |
43 | 41 | test = |
44 | 42 | pytest |
45 | 43 | pytest-cov |
46 | 44 | dev = |
47 | 45 | %(lint)s |
48 | %(release)s | |
49 | 46 | %(test)s |
50 | 47 | |
51 | 48 | [options.packages.find] |
0 | 0 | [tox] |
1 | envlist = py37, py38, py39, black, check-manifest, flake8 | |
1 | envlist = py37, py38, py39, check-manifest, flake8 | |
2 | 2 | |
3 | 3 | [testenv] |
4 | 4 | sitepackages = true |
9 | 9 | --cov=mopidy_beets --cov-report=term-missing \ |
10 | 10 | {posargs} |
11 | 11 | |
12 | [testenv:black] | |
13 | deps = .[lint] | |
14 | commands = python -m black --check . | |
15 | ||
16 | 12 | [testenv:check-manifest] |
17 | 13 | deps = .[lint] |
18 | 14 | commands = python -m check_manifest |