Skip to content

Commit ea14249

Browse files
build(lint): tighten ruff and ty rules
1 parent c4fdd6b commit ea14249

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ select = [
103103
"C4", # flake8-comprehensions
104104
]
105105
ignore = [
106-
"E501", # line too long, handled by black
107-
"E203", # space before :, handled by black
108-
"E231", # missing whitespace after ','
109-
"E722", # do not use bare 'except'
110-
"F401", # imported but unused
111-
"F811", # redefinition of unused
112106
"D100", # Missing docstring in public module
113107
"D101", # Missing docstring in public class
114108
"D102", # Missing docstring in public method
@@ -138,13 +132,13 @@ skip-magic-trailing-comma = false
138132
line-ending = "auto"
139133

140134
[tool.ty.rules]
141-
not-subscriptable = "ignore"
142-
invalid-return-type = "ignore"
143-
unresolved-import = "ignore"
144-
possibly-missing-attribute = "ignore"
145-
invalid-argument-type = "ignore"
146-
inconsistent-mro = "ignore"
147-
unresolved-attribute = "ignore"
135+
# not-subscriptable = "ignore"
136+
# invalid-return-type = "ignore"
137+
# unresolved-import = "ignore"
138+
# possibly-missing-attribute = "ignore"
139+
# invalid-argument-type = "ignore"
140+
# inconsistent-mro = "ignore"
141+
# unresolved-attribute = "ignore"
148142

149143
[tool.uv.build-backend]
150144
module-name = "edit_python_pe"

0 commit comments

Comments
 (0)