Skip to content

Commit

Permalink
make pylint happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
leslievandemark committed Jan 12, 2024
1 parent 2ed2a3e commit 066c17a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
command: |
source ~/.virtualenvs/singer-python/bin/activate
pip install pylint
pylint singer --extension-pkg-whitelist=ciso8601 -d missing-docstring,broad-exception-raised,bare-except,too-many-return-statements,too-many-branches,too-many-arguments,no-else-return,too-few-public-methods,fixme,protected-access,consider-using-f-string
pylint singer --extension-pkg-whitelist=ciso8601 -d missing-docstring,broad-exception-raised,broad-exception-caught,bare-except,too-many-return-statements,too-many-branches,too-many-arguments,no-else-return,too-few-public-methods,fixme,protected-access,consider-using-f-string
- run:
name: 'Run Tests'
command: |
Expand Down
2 changes: 1 addition & 1 deletion singer/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def asdict(self):

def _required_key(msg, k):
if k not in msg:
raise Exception(f"Message is missing required key '{k}': {msg}"
raise Exception(f"Message is missing required key '{k}': {msg}")

return msg[k]

Expand Down
2 changes: 1 addition & 1 deletion singer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def parse_args(required_config_keys):
def check_config(config, required_keys):
missing_keys = [key for key in required_keys if key not in config]
if missing_keys:
raise Exception(f"Config is missing required keys: {missing_keys}"
raise Exception(f"Config is missing required keys: {missing_keys}")


def backoff(exceptions, giveup):
Expand Down

0 comments on commit 066c17a

Please sign in to comment.