Skip to content

Commit

Permalink
Add black and isort to toolchain
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
  • Loading branch information
geigerzaehler committed Apr 29, 2023
1 parent 30d504d commit 12eeaee
Show file tree
Hide file tree
Showing 9 changed files with 579 additions and 434 deletions.
3 changes: 3 additions & 0 deletions .flake8
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
extend-ignore = E203
2 changes: 2 additions & 0 deletions .github/workflows/main.yaml
Expand Up @@ -14,6 +14,8 @@ jobs:
python-version: 3.8
cache: poetry
- run: poetry install
- run: poetry run black --check .
- run: poetry run isort --check .
- run: poetry run flake8
- run: poetry run pytest
- uses: coverallsapp/github-action@v2
Expand Down
2 changes: 2 additions & 0 deletions DEVELOPING.md
Expand Up @@ -4,6 +4,8 @@ This project uses [Poetry][] for packaging and dependency management.

We’re using the following tools to ensure consistency and quality

- [black](https://github.com/psf/black)
- [isort](https://github.com/PyCQA/isort)
- [flake8](https://github.com/PyCQA/flake8)
- [pytest](https://docs.pytest.org/)

Expand Down
1 change: 1 addition & 0 deletions beetsplug/__init__.py
@@ -1,2 +1,3 @@
from pkgutil import extend_path

__path__ = extend_path(__path__, __name__)

0 comments on commit 12eeaee

Please sign in to comment.