Skip to content

Commit

Permalink
More flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding committed Apr 7, 2024
1 parent 3d0d9f8 commit 19f22df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@ pep585-activation = "always"
show_source = false
statistics = false
ignore = [
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D103", # Missing docstring in public function
"E902", # TokenError: unterminated string literal (is broken)
"S113", # Requests call without timeout
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D103", # Missing docstring in public function
"EXE001", # Shebang is present but the file is not executable.
"E902", # TokenError: unterminated string literal (is broken)
"INP001", # File is part of an implicit namespace package. Add an __init__.py
"S113", # Requests call without timeout
]
per-file-ignores = [
# This code cannot be used in ignore due to a bug.
"*.py: DALL000", # Module lacks __all__.
"noxfile.py: E402, F401, F403",
]

[tool.isort]
Expand Down
2 changes: 1 addition & 1 deletion runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _poll(webhook_url: str, tracker_path: pathlib.Path, api_url: str, params: di
# new commits.
data.sort(key=lambda ref: dateutil.parser.parse(ref["commit"]["committer"]["date"]))

logging.info(f"Iterating across %s new commits", len(data))
logging.info("Iterating across %s new commits", len(data))

for commit in data:
commit_detail = commit["commit"]
Expand Down

0 comments on commit 19f22df

Please sign in to comment.