File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -30,3 +30,4 @@ packagecache
30
30
/docs /hotdoc-private *
31
31
32
32
* .pyc
33
+ /* venv *
Original file line number Diff line number Diff line change @@ -1115,16 +1115,15 @@ def check_format():
1115
1115
'.build' ,
1116
1116
'.md' ,
1117
1117
}
1118
+ skip_dirs = {
1119
+ '.dub' , # external deps are here
1120
+ '.pytest_cache' ,
1121
+ 'meson-logs' , 'meson-private' ,
1122
+ '.eggs' , '_cache' , # e.g. .mypy_cache
1123
+ 'venv' , # virtualenvs have DOS line endings
1124
+ }
1118
1125
for (root , _ , filenames ) in os .walk ('.' ):
1119
- if '.dub' in root : # external deps are here
1120
- continue
1121
- if '.pytest_cache' in root :
1122
- continue
1123
- if 'meson-logs' in root or 'meson-private' in root :
1124
- continue
1125
- if '__CMake_build' in root :
1126
- continue
1127
- if '.eggs' in root or '_cache' in root : # e.g. .mypy_cache
1126
+ if any ([x in root for x in skip_dirs ]):
1128
1127
continue
1129
1128
for fname in filenames :
1130
1129
file = Path (fname )
@@ -1248,6 +1247,7 @@ def get_version(t: dict) -> str:
1248
1247
options .extra_args += ['--cross-file' , options .cross_file ]
1249
1248
1250
1249
print ('Meson build system' , meson_version , 'Project Tests' )
1250
+ print ('Using python' , sys .version .split ('\n ' )[0 ])
1251
1251
setup_commands (options .backend )
1252
1252
detect_system_compiler (options )
1253
1253
print_tool_versions ()
You can’t perform that action at this time.
0 commit comments