Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit d1ad417

Browse files
Make linter happy
1 parent f4f37c1 commit d1ad417

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
9999
[tool.hatch.envs.lint.scripts]
100100
style = ["ruff check {args:.}", "black --check --diff {args:.}"]
101101
style-gh = ["ruff check {args:.} --format github", "black --check --diff {args:.}"]
102-
fmt = ["black {args:.}", "ruff --fix {args:.}", "style"]
102+
fmt = ["black {args:.}", "ruff check --fix {args:.}", "style"]
103103

104104
[tool.black]
105105
target-version = ["py38"]

src/sqlean_driver/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
class SQLeanTypeCompiler(SQLiteTypeCompiler):
2828
"""A type compiler for SQLite that uses sqlean.py as the DBAPI."""
2929

30-
def visit_INET(self, type_: TypeEngine[IPAddress], **kwa: t.Any) -> str: # noqa: ARG002, PLR6301, E501
30+
def visit_INET(
31+
self, # noqa: PLR6301
32+
type_: TypeEngine[IPAddress], # noqa: ARG002
33+
**kw: t.Any, # noqa: ARG002
34+
) -> str:
3135
"""Visit an INET node."""
3236
return "INET"
3337

0 commit comments

Comments
 (0)