Skip to content

Commit

Permalink
Cleanup pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Jul 25, 2023
1 parent 864de8a commit 972c482
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ jobs:
- name: Analysing the code with pylint
run: |
pylint --version
pylint $(git ls-files '*.py')
2 changes: 1 addition & 1 deletion gmail-exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def main():
GMAIL_CLIENT = get_gmail_client()

logging.info("Got gmail client successfully")

start_http_server(args.promPort)

logging.info("Prometheus started on port %d", args.promPort)
Expand Down
4 changes: 2 additions & 2 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -504,5 +504,5 @@ min-public-methods=2

# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=builtins.BaseException,
builtins.Exception

0 comments on commit 972c482

Please sign in to comment.