Skip to content

Commit

Permalink
chore(ruff): ignore new ruff rule
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvandernoord committed Jun 22, 2023
1 parent 4e7468d commit 113d1a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ extend-ignore = [

extend-exclude = ["*.bak/", "venv*/"]

ignore = [
"RUF013" # implicit optional
]

[tool.bandit]
# bandit -c pyproject.toml -r .
exclude_dirs = [".bak", "venv"]
Expand Down
2 changes: 1 addition & 1 deletion src/typedal/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class TypeDAL(pydal.DAL): # type: ignore

dal: Table

default_kwargs = {
default_kwargs: typing.ClassVar[typing.Dict[str, typing.Any]] = {
# fields are 'required' (notnull) by default:
"notnull": True,
}
Expand Down

0 comments on commit 113d1a5

Please sign in to comment.