Add .git to the list of default excludes.
Chris Pressey
1 year, 1 day ago
51 | 51 |
|
52 | 52 |
The `--exclude` option sets the list of directory names to not descend
|
53 | 53 |
into (a comma-separated list). It defaults to `venv`, `node_modules`,
|
54 | |
and `__pycache__`.
|
|
54 |
`__pycache__`, and `.git`.
|
55 | 55 |
|
56 | 56 |
Related work
|
57 | 57 |
------------
|
58 | 58 |
def main(args):
|
59 | 59 |
filename_format = 'block'
|
60 | 60 |
maxwidth = 75
|
61 | |
excludes = ('venv', 'node_modules', '__pycache__')
|
|
61 |
excludes = ('venv', 'node_modules', '__pycache__', '.git')
|
62 | 62 |
all_files = False
|
63 | 63 |
try:
|
64 | 64 |
import subprocess
|