Exemple #1
0
import os
from gitpandas import ProjectDirectory

from definitions import GIT_PANDAS_DIR

__author__ = 'willmcginnis'

if __name__ == '__main__':
    g = ProjectDirectory(working_dir=GIT_PANDAS_DIR)

    b = g.file_detail(include_globs=['*.py'], ignore_globs=['lib/*', 'docs/*'])
    print(b.head(25))

import os
from gitpandas import Repository, ProjectDirectory

__author__ = 'willmcginnis'

if __name__ == '__main__':
    # g = Repository(working_dir=os.path.abspath('../'))
    g = ProjectDirectory(working_dir=os.path.abspath('../'))

    b = g.file_detail(extensions=['py'], ignore_dir=['lib', 'docs'])
    print(b.head(25))

import os
from gitpandas import ProjectDirectory

__author__ = 'willmcginnis'

if __name__ == '__main__':
    g = ProjectDirectory(working_dir=os.path.abspath('../'))

    b = g.file_detail(extensions=['py'], ignore_dir=['lib', 'docs'])
    print(b.head(25))

import os
from gitpandas import ProjectDirectory

__author__ = 'willmcginnis'

if __name__ == '__main__':
    g = ProjectDirectory(working_dir=os.path.abspath('../'))

    b = g.file_detail(include_globs=['*.py'], ignore_globs=['lib/*', 'docs/*'])
    print(b.head(25))