Import Linter allows you to define and enforce rules for the internal and external imports within your Python project.
BSD 2-Clause "Simplified" License
664
stars
45
forks
source link
Fix bug with sibling layers with containerless layers contracts #188
Closed
flaeppe closed 1 year ago
I tried out the new sibling layers feature for
layers
contract, but ran in to a bug when trying out the config from documentation:Resulted in a:
'set' object has no attribute 'is_optional'
The provided changes should ensure both return types(
Layer | set[Layer]
) ofLayerField.parse
are handled