You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tool.slotscheck]
# default settings (fallback)strict-imports = truerequire-superclass = true
[[tool.slotscheck.run]]
# more strict checks in a certian moduleinclude-modules = 'my\.specific\.submodule.*'require-subclass = true
[[tool.slotscheck.run]]
# turn off class inheritance check only for classes ending in `Foo`include-classes = '.*Foo'require-subclass = false
Currently it's possible to filter out modules/classes. However it'd be nice to have different sets of rules per part of the code.
For example, enforcing slots strictly within a particular module, but not elsewhere (in a non-performance critical part)
The text was updated successfully, but these errors were encountered: