old_contents: import os
  from fnmatch import fnmatchcase
  import click
  
  
  class Ignores(object):
      @classmethod
      def read(cls, path):
          ignores = cls()
  
          with click.open_file(path, 'r') as stream:
              ignores.patterns = [line.strip() for line in stream]
  
          return ignores
      
      def __init__(self):
          self.patterns = []
  
      def match(self, path):
          filename = os.path.basename(path)
  
          if any(fnmatchcase(filename, pattern) for pattern in self.patterns):
              return True
          else:
              return False
  
new_contents: import os
  from fnmatch import fnmatchcase
  import click
  
  
  class Ignores(object):
      def __init__(self, default_patterns=[]):
          self.patterns = default_patterns
  
      def read(cls, path):
          with open(path, 'r') as stream:
              self.patterns.extend([line.strip() for line in stream])
      
      def match(self, path):
          filename = os.path.basename(path)
  
          if any(fnmatchcase(filename, pattern) for pattern in self.patterns):
              return True
          else:
              return False
  
subject: Make Ignores init accept default patterns