Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulalgorithm committed Sep 24, 2024
1 parent 6e5d6c3 commit 7497852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
poetry run isort --check .
poetry run mypy . --explicit-package-bases
poetry run bandit -r . -c pyproject.toml
2
- name: Test
run: |
poetry run coverage run -m pytest
Expand Down
6 changes: 1 addition & 5 deletions metaphor/postgresql/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ class QueryLogConfig:

@field_validator("username_to_email")
def _normalize_emails(cls, username_to_email: Dict[str, str]):
return {
k: v.lower()
for k, v
in username_to_email.items()
}
return {k: v.lower() for k, v in username_to_email.items()}


@dataclass(config=ConnectorConfig)
Expand Down

0 comments on commit 7497852

Please sign in to comment.