Skip to content

Commit

Permalink
Ignore useless ruff rule
Browse files Browse the repository at this point in the history
  • Loading branch information
loRes228 committed Aug 5, 2024
1 parent acc5662 commit d3be2fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aiogram_broadcaster/contents/poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(
question_parse_mode: Optional[Union[str, Default]] = ...,
question_entities: Optional[list[MessageEntity]] = ...,
is_anonymous: Optional[bool] = ...,
type: Optional[str] = ..., # noqa: A002
type: Optional[str] = ...,
allows_multiple_answers: Optional[bool] = ...,
correct_option_id: Optional[int] = ...,
explanation: Optional[str] = ...,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ extend-select = [
]
ignore = [
"D", # pydocstyle
"A", # flake8-builtins
"CPY", # flake8-copyright
"FA", # flake8-future-annotations
"ANN", # flake8-annotations
Expand All @@ -132,7 +133,6 @@ ignore = [
"PLR0917", # too-many-positional
"PLR1702", # too-many-nested-blocks
"PLW3201", # bad-dunder-method-name
"A004" # builtin-import-shadowing
]
logger-objects = [
"aiogram_broadcaster.utils.logger.logger"
Expand Down

0 comments on commit d3be2fa

Please sign in to comment.