@@ -71,7 +71,7 @@ dev = [
7171 "pre-commit>=4.5.1",
7272 "pyrefly>=1.0.0",
7373 "codespell>=2.4.1",
74- "rattle-lint>=2.1.1 ",
74+ "rattle-lint>=2.4.2 ",
7575]
7676
7777[project.urls]
@@ -133,8 +133,32 @@ spec-compliant-overloads = false
133133
134134[tool.rattle]
135135root = true
136- enable = ["blank-lines"]
137- disable = ["rattle.rules"]
136+ enable = [
137+ "blank-line-after-control-block",
138+ "blank-line-after-terminal-control-block",
139+ "blank-line-before-branch",
140+ "blank-line-before-unrelated-block",
141+ "no-suite-leading-trailing-blank-lines",
142+ "module-all-at-bottom",
143+ "no-underscore-all-exports",
144+ "forbidden-call",
145+ "no-relative-imports",
146+ "no-underscore-import-aliases",
147+ "no-unsafe-tempfile-factories",
148+ "no-annotated-self",
149+ "no-exception-message-variables",
150+ "no-str-exception-translation",
151+ "no-underscore-class",
152+ "public-method-order",
153+ "no-bare-object-annotations",
154+ "no-named-tuple",
155+ "no-static-if-condition",
156+ "sorted-attributes",
157+ "use-callable-ellipsis",
158+ ]
159+
160+ [tool.rattle.options."forbidden-call"]
161+ forbidden_calls = ["typing.cast"]
138162
139163[tool.ruff]
140164line-length = 100
0 commit comments