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. 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 ```bash
$ virtualenv --python=python3 env $ virtualenv --python=python3 env
@ -51,7 +50,7 @@ $ source env/bin/activate
### Lint ### Lint
pip install .[test] pip install ".[test]"
To automatically fix some of the code style: To automatically fix some of the code style:
@ -75,9 +74,9 @@ Don't forget to add a short description of your change in the [CHANGELOG](CHANGE
### Publishing (by maintainer) ### Publishing (by maintainer)
- Bump version in setup.py - Bump version in setup.py
- Bump and date changelog - Bump and date changelog
- Add to changelog: - Add to changelog:
## Unreleased ## Unreleased
Add your changes below. Add your changes below.
@ -88,9 +87,8 @@ Don't forget to add a short description of your change in the [CHANGELOG](CHANGE
### Removed ### Removed
- Commit changes - Commit changes
- Push tag to trigger PyPI build & release workflow - 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 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': [ 'test': [
'autopep8>=2.3.2', 'autopep8>=2.3.2',
'flake8>=7.1.1', 'flake8>=7.3.0',
'flake8-string-format>=0.3.0', 'flake8-use-fstring>=1.4',
'isort>=5.13.2' 'isort>=7.0.0'
] ]
} }

View File

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