Changeset 1722:2500d9b34941 for find_invalid_code.py
- Timestamp:
- Dec 26, 2018, 7:49:04 PM (2 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
find_invalid_code.py
r1718 r1722 56 56 r"\bftp_stat\b"), 57 57 InvalidFeature("Possible use(s) of FTPHost.file", 58 r"{0}\.file\(".format(HOST_REGEX)), 59 InvalidFeature("Possible use(s) of FTPHost.open with text mode", 60 r"{0}\.open\(.*[\"'](r|w)t?[\"']".format(HOST_REGEX)), 61 InvalidFeature("Possible use(s) of byte string in ignores_line", 62 r"\bdef ignores_line\("), 63 InvalidFeature("Possible use(s) of byte string in parse_line", 64 r"\bdef parse_line\("), 65 InvalidFeature("Possible use(s) download with text mode", 66 r"{0}\.download(_if_newer)?\(".format(HOST_REGEX)), 67 InvalidFeature("Possible use(s) upload with text mode", 68 r"{0}\.upload(_if_newer)?\(".format(HOST_REGEX)), 69 InvalidFeature("Possible use(s) of xreadline method of FTP file objects", 70 r"\.\s*?xreadlines\b"), 58 r"{0}\.file\(".format(HOST_REGEX)) 71 59 ] 72 60
Note: See TracChangeset
for help on using the changeset viewer.