mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Fix lint workflow
This commit is contained in:
parent
b5be7fba6a
commit
9119b6a070
@ -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:
|
||||||
|
|
||||||
@ -90,7 +89,6 @@ Don't forget to add a short description of your change in the [CHANGELOG](CHANGE
|
|||||||
|
|
||||||
- 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/>
|
||||||
|
|
||||||
|
|||||||
6
setup.py
6
setup.py
@ -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'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user