- Add pytest config to pyproject.toml
- Set pytest 6.0.0 as minimum version via dev-requirements.txt
- Remove unneeded filterwarnings("always") calls from tests
- Move list of files from CI config to mypy config in pyproject.toml,
so that mypy can be run locally without having to specificy the same
inputs as CLI arguments. Keep --no-incremental exclusive to CI runner.
- Update Python version of mypy CI runner.
- Fix typing ignore comment when importing importlib_metadata fallback
in the streamlink_cli.compat module.
- Add mypy and available typing stubs to dev-requirements
- Add mypy config
- Add py.typed to streamlink + streamlink_cli packages (PEP 561):
This is required, so that mypy can import types from streamlink when
installed in editable mode. Don't publish this file for now.
Once various streamlink APIs are properly typed, typing stub files
can be added instead.
- Add basic pyproject.toml with build-system information
- Drop versioneer in favor of versioningit
- Delete versioneer install module and remove its setup.cfg config
- Replace `src/streamlink/_version.py` and load streamlink's version
string via versioningit. The module's `__version__` export will get
replaced by a static string on build-time when creating sdists/wheels,
which results in the old versioneer behavior with support for
editable installs.
- Make versioningit use the same version format as versioneer
- Update MANIFEST.in and .coveragerc