From: Marcel van der Veldt Date: Tue, 5 Apr 2022 08:44:10 +0000 (+0200) Subject: linting X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=9b0a6b1229d60f34a0dd50bd8ffbdea77600a614;p=music-assistant-server.git linting --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e759f3dc..74462dbc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,7 @@ repos: rev: 3.8.3 hooks: - id: flake8 + exclude: ^examples/ additional_dependencies: - flake8-docstrings==1.3.1 - pydocstyle==4.0.0 diff --git a/examples/full.py b/examples/full.py index ddda4614..e8d46f66 100644 --- a/examples/full.py +++ b/examples/full.py @@ -94,6 +94,7 @@ providers = [] if args.musicdir: providers.append(FileSystemProvider(args.musicdir, args.playlistdir)) + class TestPlayer(Player): def __init__(self): self.player_id = "test"