File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class PluginNotInitialized(PluginException):
1111 r"""This is raised when you try to access something that needs data from the initialize method, and it hasn't been called yet."""
1212
1313 def __init__ (self ) -> None :
14- return super ().__init__ ("The plugin hasn't been initialized yet" )
14+ super ().__init__ ("The plugin hasn't been initialized yet" )
1515
1616
1717class EnvNotSet (PluginException ):
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ select = [
7777 " ANN" , # https://docs.astral.sh/ruff/rules/#flake8-annotations-ann
7878 " PGH" , # https://docs.astral.sh/ruff/rules/#pygrep-hooks-pgh
7979 " RET" , # https://docs.astral.sh/ruff/rules/#flake8-return-ret
80+ " PLE" , # https://docs.astral.sh/ruff/rules/#error-e_1
8081]
8182ignore = [
8283 " F403" , # https://docs.astral.sh/ruff/rules/undefined-local-with-import-star/#undefined-local-with-import-star-f403
You can’t perform that action at this time.
0 commit comments