fix: pylint fixes
This commit is contained in:
parent
0a315a6a9c
commit
5db3f7f1f4
4 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
[MESSAGES CONTROL]
|
||||
disable=
|
||||
too-many-lines
|
||||
line-too-long
|
||||
invalid-name
|
||||
too-few-public-methods
|
||||
too-many-instance-attributes
|
||||
too-many-arguments
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
"""This is a list of all of the exceptions used in PyZipline."""
|
||||
|
||||
class HTTPFailure(Exception):
|
||||
"""
|
||||
Raised when an HTTP request fails.
|
||||
|
|
|
@ -48,7 +48,7 @@ class File:
|
|||
def __init__(
|
||||
self,
|
||||
createdAt: datetime,
|
||||
id: int,
|
||||
id: int, # pylint: disable=redefined-builtin
|
||||
mimetype: str,
|
||||
views: int,
|
||||
name: str,
|
||||
|
@ -107,7 +107,7 @@ class Invite:
|
|||
"""
|
||||
def __init__(
|
||||
self,
|
||||
id: int,
|
||||
id: int, # pylint: disable=redefined-builtin
|
||||
code: str,
|
||||
createdAt: datetime,
|
||||
expiredAt: datetime,
|
||||
|
@ -138,7 +138,7 @@ class OAuth:
|
|||
"""
|
||||
def __init__(
|
||||
self,
|
||||
id: int,
|
||||
id: int, # pylint: disable=redefined-builtin
|
||||
provider: str,
|
||||
userId: int,
|
||||
providerId: str,
|
||||
|
@ -177,7 +177,7 @@ class User:
|
|||
"""
|
||||
def __init__(
|
||||
self,
|
||||
id: int,
|
||||
id: int, # pylint: disable=redefined-builtin
|
||||
uuid: str,
|
||||
username: str,
|
||||
avatar: Optional[str],
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
"""This module contains the RestAdapter class, which is used to make requests to the Zipline server."""""
|
||||
import logging
|
||||
from typing import Dict
|
||||
from json import JSONDecodeError
|
||||
|
|
Loading…
Reference in a new issue