Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RonnyPfannschmidt/cd6898e5dda6a6ee81e9232a7ba3904d to your computer and use it in GitHub Desktop.
Save RonnyPfannschmidt/cd6898e5dda6a6ee81e9232a7ba3904d to your computer and use it in GitHub Desktop.
BAD_MATCH = re.compile(r"""
(\.git/annex)
| (home/\w+/\.(config|local|mozilla|macromedia|thunderbird)/)
| (\.wine/drive_c/)
| (Dropbox/)
| (\.env/lib/python2.7.env/lib/python2.7/)
| (home/\w+/\.eclipse/)
| (home/\w+/\.local/opt/pyenv/)
| (home/\w+/\.local/pycharm-)
| (\.local/share/doc/rust)
| (lib/python\d\.\d/site-packages)
| (\.config/Atom/Cache)
| (/\.git/objects/)
| (pyenv/versions/)
| (/Maildirstuff/Maildir/)
| (\.thunderbird/\w+.default)
| (\.tox/.*/(site-packages|lib)/)
| (\.config/google-chrome)
| (\.local/lighttable)
| (\.gem/ruby)
| (\.PyCharm\d+/(config|system))
| (/\.Skype/)
| (\.atom/\.(apm|node-gyp))
| (\.atom/(compile-cache|packages))
| (\.config/LightTable)
| (\.config/SpiderOakBlue)
| (\.config/sublime-text-.*[Cc]ache)
| (\.dropbox-dist/)
""", re.VERBOSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment