From 9b0a6b1229d60f34a0dd50bd8ffbdea77600a614 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Tue, 5 Apr 2022 10:44:10 +0200 Subject: [PATCH] linting --- .pre-commit-config.yaml | 1 + examples/full.py | 1 + 2 files changed, 2 insertions(+) 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" -- 2.34.1