Skip to content

Commit

Permalink
Ignore PGH003 globally (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding authored Jan 1, 2025
1 parent 3e1826e commit fef053e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs_src/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# pyright: reportArgumentType=none
import os

import agraffe # type: ignore # TODO: add py.typed to agraffe # noqa: PGH003
import agraffe # type: ignore # TODO: add py.typed to agraffe
import fastapi
import tanjun

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ ignore = [
"I001", # [*] Import block is un-sorted or un-formatted
"N818", # Exception name `FailedModuleUnload` should be named with an Error suffix
"PD011", # Use `.to_numpy()` instead of `.values`
"PGH003", # Use specific rule codes when ignoring type issues
"PLR1714", # Consider merging multiple comparisons: ``. Use a `set` if the elements are hashable.
"PYI041", # Use `float` instead of `int | float`
"S101", # Use of `assert` detected
Expand Down Expand Up @@ -299,7 +300,6 @@ ignore = [
"FBT002", # Boolean default positional argument in function definition
"FBT003", # Boolean positional value in function call
"PLR0915", # Too many statements
"PGH003", # Use specific rule codes when ignoring type issues
"PLR2004", # Magic value used in comparison, consider replacing `` with a constant variable
"SLF001", # Private member accessed: ``
"S106", # Possible hardcoded password assigned to argument:
Expand Down

0 comments on commit fef053e

Please sign in to comment.