Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .github/workflows/codeql.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
- uses: chartboost/ruff-action@v1
- run: pipx install ruff
- run: ruff check src/
- run: ruff format src/
4 changes: 3 additions & 1 deletion src/MySQLdb/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ class object, used to create cursors (keyword only)
super().__init__(*args, **kwargs2)
self.cursorclass = cursorclass
self.encoders = {
k: v for k, v in conv.items() if type(k) is not int # noqa: E721
k: v
for k, v in conv.items()
if type(k) is not int # noqa: E721
}

self._server_version = tuple(
Expand Down