Skip to content

Commit 6296bb2

Browse files
committed
updating prospector rules
1 parent bc9b412 commit 6296bb2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.prospector.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pylint:
1515
- broad-except
1616
- import-error
1717
- import-self
18+
- protected-access
1819
- logging-format-interpolation
1920
- missing-docstring
2021
- no-self-use

pyclickup/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pyclickup.models.error import MissingClient
88
from pyclickup.utils.text import snakeify, ts_to_datetime, datetime_to_ts
99
from requests.models import Response
10-
from typing import Any, Dict, List as ListType, Union
10+
from typing import Any, Dict, List as ListType, Union # noqa
1111

1212

1313
class BaseModel:

pyclickup/models/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def headers(self) -> dict:
5858
def user(self) -> User:
5959
"""get the user associated with this token"""
6060
if not self._user or not self.cache:
61-
self._user = User(self.get("user"), client=self)
61+
self._user = User(self.get("user"), client=self) # type: ignore
6262
return self._user
6363

6464
@property

0 commit comments

Comments
 (0)