Commit e4e2f8e 1 parent 52d8692 commit e4e2f8e Copy full SHA for e4e2f8e
File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change
1
+ [tool .black ]
2
+ target-version = [" py38" ]
3
+ line-length = 120
4
+ safe = true
5
+
6
+ [tool .isort ]
7
+ profile = " black"
Original file line number Diff line number Diff line change @@ -221,9 +221,13 @@ def get_event_mask_from_filter(self):
221
221
elif cls in (DirCreatedEvent , FileCreatedEvent ):
222
222
event_mask |= InotifyConstants .IN_MOVE | InotifyConstants .IN_CREATE
223
223
elif cls is DirModifiedEvent :
224
- event_mask |= (InotifyConstants .IN_MOVE | InotifyConstants .IN_ATTRIB |
225
- InotifyConstants .IN_MODIFY | InotifyConstants .IN_CREATE |
226
- InotifyConstants .IN_CLOSE_WRITE )
224
+ event_mask |= (
225
+ InotifyConstants .IN_MOVE
226
+ | InotifyConstants .IN_ATTRIB
227
+ | InotifyConstants .IN_MODIFY
228
+ | InotifyConstants .IN_CREATE
229
+ | InotifyConstants .IN_CLOSE_WRITE
230
+ )
227
231
elif cls is FileModifiedEvent :
228
232
event_mask |= InotifyConstants .IN_ATTRIB | InotifyConstants .IN_MODIFY
229
233
elif cls in (DirDeletedEvent , FileDeletedEvent ):
You can’t perform that action at this time.
0 commit comments