linting
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 5 Apr 2022 12:57:06 +0000 (14:57 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 5 Apr 2022 12:57:06 +0000 (14:57 +0200)
.dockerignore
.github/dependabot.yml
.github/release-drafter.yml
.github/workflows/pre-commit-updater.yml
.vscode/settings.json
MANIFEST.in
music_assistant/models/media_items.py
requirements.txt
setup.cfg

index 029ac7c4e7af37995478ff053b48d14985ee60e2..7368f5cc13027159c7c91f7d60a20e5a2aa34d3c 100644 (file)
@@ -5,4 +5,4 @@
 build
 dist
 venv
-**/__pycache__
\ No newline at end of file
+**/__pycache__
index c2b300b90d81450b10265df39a0513ec21a92bdd..ec8bf98962d70f388ee18909d7b8113350da6282 100644 (file)
@@ -7,4 +7,4 @@ updates:
   - package-ecosystem: "pip"
     directory: "/"
     schedule:
-      interval: weekly
\ No newline at end of file
+      interval: weekly
index 1737036add60f80f1f9d5d18e97226f6e291ecad..e77435ba03c1173acfe5e1954f09af76a051c374 100644 (file)
@@ -5,4 +5,4 @@ categories:
       - "dependencies"
 template: |
   ## What's Changed
-  $CHANGES
\ No newline at end of file
+  $CHANGES
index 14442f6eeb483da805ad827dc03433fdbb6c3f39..2c3b448a4601563e6ab597d593f8edb9359641bf 100644 (file)
@@ -23,6 +23,6 @@ jobs:
           title: Auto-update pre-commit hooks
           commit-message: Auto-update pre-commit hooks
           body: |
-            Update versions of tools in pre-commit 
+            Update versions of tools in pre-commit
             configs to latest version
-          labels: dependencies
\ No newline at end of file
+          labels: dependencies
index efcfe8f466f75953dbf698d189e7930b742cfd4f..d63891a61df84fa04c043faee19c018c21b40c11 100644 (file)
@@ -6,4 +6,4 @@
     "python.linting.flake8Enabled": true,
     "python.linting.flake8Args": ["--config=${workspaceFolder}/setup.cfg"],
     "python.linting.mypyEnabled": false,
-}
\ No newline at end of file
+}
index fb7d28203b8f1344e8bd113694ab21b601a8cce5..f50f217671fdc1328cbb354d6b3e0f82cb935a23 100644 (file)
@@ -2,4 +2,4 @@ include *.txt
 include README.rst
 include LICENSE.md
 graft music_assistant
-recursive-exclude * *.py[co]
\ No newline at end of file
+recursive-exclude * *.py[co]
index 82166fe6338ca9328be9eba1614253aa7da24bcc..0bd1579a041db6dcdea678f04feb4f91ea49c52b 100755 (executable)
@@ -300,6 +300,7 @@ class StreamDetails(DataClassDictMixin):
 
     def __post_serialize__(self, d: Dict[Any, Any]) -> Dict[Any, Any]:
         """Exclude internal fields from dict."""
+        # pylint: disable=invalid-name,no-self-use
         d.pop("path")
         d.pop("details")
         return d
index ae8ab70055e5753e170c4ed4c08a929bac2480b9..b0902e2569e3b5a54707fdc62c131ab5a57f3886 100644 (file)
@@ -12,4 +12,4 @@ pillow>=8.0,<=9.0.1
 unidecode>=1.0,<=1.3.4
 ujson>=4.0,<=5.1.0
 mashumaro>=3.0,<=3.1
-tinytag>=1.6,<=1.8.1
\ No newline at end of file
+tinytag>=1.6,<=1.8.1
index ec9f535a4d171fc5e1ca8ff06d3656101aed833d..7afd055151a2a6aadb7f63c21eee9fdb5a7148e8 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -105,4 +105,4 @@ max-nested-blocks=15
 ignored-classes=_CountingAttr
 
 [pylint.format]
-expected-line-ending-format=LF
\ No newline at end of file
+expected-line-ending-format=LF