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
Depending on the __ignore__ variable position it can be kept or removed.
To Reproduce
🟢 No problems (__ignore__ variable survives in the file):
# Some text here.__ignore__= ["spam", "eggs"]
__protected__= ["foobar",]
# Some text here.__ignore__= ["spam", "eggs"]
__protected__= ["foobar",]
# Some text here.__ignore__= ["spam", "eggs"]
__protected__= ["foobar",]
__ignore__= ["spam", "eggs"]
__private__= []
# Some text.__ignore__= ["spam", "eggs"]
# Some text.
🔴 __ignore__ is removed by mistake:
# Some text here.__protected__= ["foobar",]
__ignore__= ["spam", "eggs"]
# Some text here.__protected__= ["foobar",]
__ignore__= ["spam", "eggs"]
# Some text here.__ignore__= ["spam", "eggs"]
__ignore__= ["spam", "eggs"]
__protected__= []
__ignore__= ["spam", "eggs"]
Expected behavior
Always keep __ignore__ when it is around the top of the file.
The text was updated successfully, but these errors were encountered:
alessio-locatelli
changed the title
mkinit removes __ignore__ by mistake under certain circumstances
mkinit removes __ignore__ under certain circumstances
May 17, 2024
Describe the bug
Depending on the
__ignore__
variable position it can be kept or removed.To Reproduce
🟢 No problems (
__ignore__
variable survives in the file):🔴
__ignore__
is removed by mistake:Expected behavior
Always keep
__ignore__
when it is around the top of the file.The text was updated successfully, but these errors were encountered: