-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drastically improved pylint score (#199)
- Loading branch information
1 parent
8087ff6
commit e027c6f
Showing
34 changed files
with
459 additions
and
123 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,13 @@ | ||
[MESSAGES CONTROL] | ||
disable = C0330, C0326 | ||
|
||
[format] | ||
max-line-length = 88 | ||
class-naming-style = PascalCase | ||
module-naming-style = PascalCase | ||
|
||
[similarities] | ||
ignore-comments=yes | ||
ignore-docstrings=yes | ||
ignore-imports=yes | ||
ignore-signatures=yes |
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
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,23 @@ | ||
import abc | ||
import datetime | ||
|
||
from typing import Dict | ||
|
||
|
||
class InternalLimiter(abc.ABC): | ||
@abc.abstractmethod | ||
def wait_until( | ||
self, region: str, endpoint_name: str, method_name: str | ||
) -> datetime.datetime: | ||
pass | ||
|
||
@abc.abstractmethod | ||
def update_limiter( | ||
self, | ||
region: str, | ||
endpoint_name: str, | ||
method_name: str, | ||
status: int, | ||
headers: Dict[str, str], | ||
): | ||
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
Oops, something went wrong.