Fix lint workflow

This commit is contained in:
Stephane Bruckert 2025-11-27 07:33:35 +00:00
parent b5be7fba6a
commit 9119b6a070
3 changed files with 16 additions and 15 deletions

View File

@ -39,8 +39,7 @@ To give you a flavour of what we mean, here are some examples of what PRs go whe
Just choose v3 if you are unsure which branch to work on.
### Create virtual environment, install dependencies, run tests:
### Create virtual environment, install dependencies, run tests
```bash
$ virtualenv --python=python3 env
@ -51,7 +50,7 @@ $ source env/bin/activate
### Lint
pip install .[test]
pip install ".[test]"
To automatically fix some of the code style:
@ -90,7 +89,6 @@ Don't forget to add a short description of your change in the [CHANGELOG](CHANGE
- Commit changes
- Push tag to trigger PyPI build & release workflow
- Create github release https://github.com/plamere/spotipy/releases with the changelog content
- Create github release <https://github.com/plamere/spotipy/releases> with the changelog content
for the version and a short name that describes the main addition
- Verify doc uses latest https://readthedocs.org/projects/spotipy/
- Verify doc uses latest <https://readthedocs.org/projects/spotipy/>

View File

@ -13,9 +13,9 @@ extra_reqs = {
],
'test': [
'autopep8>=2.3.2',
'flake8>=7.1.1',
'flake8-string-format>=0.3.0',
'isort>=5.13.2'
'flake8>=7.3.0',
'flake8-use-fstring>=1.4',
'isort>=7.0.0'
]
}

View File

@ -8,6 +8,9 @@ commands=python -m unittest discover -v tests/unit
max-line-length = 99
exclude=
.git,
.venv,
build,
dist,
docs,
examples
examples,
spotipy.egg-info