-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: broken endpoints and pylint errors (#95)
* fix typo in base * remove unneeded pass in exceptions * fix radarr endpoints * fix readarr pylint complaints * fix _process_response pylint complaints * bump version * fix dangerous default value * add pylintrc
- Loading branch information
1 parent
ba5f79b
commit 7febfeb
Showing
7 changed files
with
61 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[MASTER] | ||
disable=missing-module-docstring, line-too-long, too-many-public-methods, too-many-arguments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,26 @@ | ||
class PyarrError(Exception): | ||
"""Generic PyArr Exception.""" | ||
|
||
pass | ||
|
||
|
||
class PyarrConnectionError(PyarrError): | ||
"""Sonarr connection exception.""" | ||
|
||
pass | ||
|
||
|
||
class PyarrUnauthorizedError(PyarrError): | ||
"""Unauthorised access exception""" | ||
|
||
pass | ||
|
||
|
||
class PyarrAccessRestricted(PyarrError): | ||
"""Pyarr access restricted exception.""" | ||
|
||
pass | ||
|
||
|
||
class PyarrResourceNotFound(PyarrError): | ||
"""Pyarr resource not found exception""" | ||
|
||
pass | ||
|
||
|
||
class PyarrBadGateway(PyarrError): | ||
"""Pyarr bad gateway exception""" | ||
|
||
pass | ||
|
||
|
||
class PyarrMissingProfile(PyarrError): | ||
"""Pyarr missing profile""" | ||
|
||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "pyarr" | ||
version = "3.0.0" | ||
version = "3.0.1" | ||
description = "Python client for Servarr API's (Sonarr, Radarr, Readarr)" | ||
authors = ["Steven Marks <[email protected]>"] | ||
license = "MIT" | ||
|